Forum Discussion

VenkatSubram316's avatar
VenkatSubram316
Community Member
7 months ago

Fill in the blank submit button

I have a set of fill in the blank questions, as a question bank, say 40 questions and randomizing 15, and at the end of 15 question we are checking the result. 

Problem here is when the text entry field is active ( blank or filled) when user press the enter key it navigating to the next question. once user return to the question, that time the text entry filed is inactive and user not able to selected the text field.

How to restrict the submit ACTION using [ENTER/RETURN] KEYS

Is there is any solution available for this.

 

  • AndrewHanley's avatar
    AndrewHanley
    Community Member

    I dont think there is an out of the box solution for this Venkat.
    At least, I havent seen any! sorry.

    I wonder if you removed the built in Storyline functionality of the FIll In THe Blank slide (with the premade layers, submit button, etc) and instead made your own freeform graded question slide, would that allow you to have the control you need.

    The final idea (and its just a thought) is to use a JS event listener to grab and intercept your keyboard strokes and only allow ones that you permit (ie. only alphanumeric characters)
    That should work?! (....I think)

  • Nedim's avatar
    Nedim
    Community Member

    Typically, pressing the enter key would activate correct or incorrect layer. It would not jump to the next slide. My guess is that you have turned off the feedback to all questions. If there are no feedback layers, pressing the Enter key will execute whatever the Submit button does, which is likely  to submit your response for evaluation and to proceed to the next slide/question since there's no other feedback to display.