How can i reset my choice in a Drop-Down-List?

Comments

1 comment

  • Avatar
    Karl Makatenas

    Do you mean that you want a button in the form that the user clicks and it resets the dropdown value?  Or do you mean that the next form in the process should default to the reset value?

    The button would be JavaScript, something like this (untested):

    function ResetDropdown() {
        var options = {fieldId: "YourDropdownInternalName", value: ""};
        eFormHelper.setFieldValue(options, function(r){})
    }

    Then edit the button, and on the Advanced tab, make it fire ResetDropdown() when clicked.

    If you want successive form loads to reset the value, then set an OnLoad rule to always fire and set the value of the dropdown to "".

    0
    Comment actions Permalink

Please sign in to leave a comment.