Hoppa till huvudinnehållet

How to invoke default button when user hits Enter?

Kommentarer

2 kommentarer

  • Stefan Schweigert

    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
  • Chris Dunlop

    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

Du måste logga in om du vill lämna en kommentar.