How do I set my Select Widget element to always default to the first option?

Follow

Comments

4 comments

  • Avatar
    bwilcox02

    Why is it important that the hidden field be at the bottom of the form?

  • Avatar
    Kanem

    Would this work with pick list elements as well?

  • Avatar
    Tony Ruth

    Hi Mike, this should apply to pick list widget as well.

    @ Ben, you don't need to hide it, but makes for a cleaner user experience.

  • Avatar
    John Gilbert

    Another way is to simply write this as the Dynamic Value for the select:
    {my_select=-1}
    I'm not sure why it works, but it reliably works on android and apple. David at IForms Support says this approach is fine.
    Same idea applies to other types of element. For a text control, it would be:
    {my_text = ""}

Please sign in to leave a comment.

Powered by Zendesk