Feature #1302

Hit 'enter' for pretest/posttest questions to submit answer

Added by Brecht De Man over 9 years ago. Updated almost 9 years ago.

Status:ResolvedStart date:2015-06-25
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

To submit a response to any question, the user now has to click the 'Next' button or hit Tab and then Enter. Perhaps the button could be 'selected' so that filling out the text box and hitting enter goes to the next question.

History

#1 Updated by Nicholas Jillings about 9 years ago

  • Status changed from New to Resolved

Enter key presses are captured and processed. If the popup shows a textarea, and that is currently the focus (ie being typed into), then the enters are saved by the text area still.

#2 Updated by Brecht De Man almost 9 years ago

  • Status changed from Resolved to In Progress
  • % Done changed from 0 to 90

I changed this so that hitting enter in a text area does submit the answer, which seems to be the expected behaviour.
Perhaps shift-enter should be allowed for making a newline, or even disabling this feature for 'large' text boxes... As long as going back is possible without discarding answers, one can always go back and fix it. To be discussed I guess.

#3 Updated by Nicholas Jillings almost 9 years ago

If it is a text entry and currently selected, will not progress to the next item but create a new line.

#4 Updated by Brecht De Man almost 9 years ago

  • Priority changed from Low to Normal

Doesn't seem to work in Firefox!

#5 Updated by Nicholas Jillings almost 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Resolved now in revision 360:92eaa0db1e8f

Also available in: Atom PDF