How to invoke default button when user hits Enter?
I'm setting up a form with a few dropDownLists and textBoxes. It has the standard Submit and Cancel buttons (the submit button is set as the default).
if the user hits Enter, the workflow closes. Is there a way to invoke the default submit button instead? it works this way I want it when there are no dropdowns/textboxes, but as soon as I add any, hitting Enter just closes the workflow.
Thanks,
Chris
-
Hi Chris,
Whichever button in your form has the 'Default' setting selected will be triggered when the Enter button is pressed but if you also have that button set to 'Causes Validation' and other form elements are set as 'Required', then the form won't submit until a value has been selected.
Thanks, Stefan
0 -
Hi Stefan. What you described works if you don't have any user input items (drop downs, check boxes etc). But if there is a drop down box for instance, hitting enter no longer triggers the default button, but instead just exits the form.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare