PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Ability to add default to dropdown that can't be chosen.

  1. In my forms, I like to have the default "Choose One," and have this be required.
    Currently, making this field required doesn't seem to do much. Ideally, if someone doesn't select something (meaning that "Choose One" is still selected), the form won't submit.

    Posted 14 years ago on Wednesday November 18, 2009 | Permalink
  2. I'd love to see this feature as well!

    Posted 14 years ago on Wednesday November 18, 2009 | Permalink
  3. We've discussed adding a default value option for the drop down lists in another release. For now, you can leave the first option empty and the validation works properly.

    Posted 14 years ago on Wednesday November 18, 2009 | Permalink
  4. Kevin,

    Thanks! That works perfectly for now. In the future it would be nice to specify the default with text but in the meantime this is great. Thank you for your quick reply.

    Posted 14 years ago on Wednesday November 18, 2009 | Permalink
  5. NP Michael. Thanks for all the great feedback and the helpful input. We appreciate it.

    Posted 14 years ago on Wednesday November 18, 2009 | Permalink
  6. Yes, being able to specify the first option as something like "Please select..." (with customisable text) so if the field is required you have to select a different option for the form to validate correctly would be great.

    Posted 14 years ago on Monday November 23, 2009 | Permalink
  7. Echoing the need for this...thanks!

    Posted 14 years ago on Monday March 1, 2010 | Permalink
  8. Lee Hord
    Member

    This is a workaround at best, just have jQuery set the value of the first option:

    $('#input_id option:eq(0)').val('')

    This will set a null value for the first option in the select. Just replace "input_id" with your select id.

    Posted 14 years ago on Friday March 19, 2010 | Permalink
  9. bizlift
    Member

    Bump. Would be nice if "Alabama" wasn't default if no state selected without having to go into it each time and add a blank field above options.

    Posted 13 years ago on Sunday August 22, 2010 | Permalink
  10. +1 for this feature!

    Posted 13 years ago on Sunday January 9, 2011 | Permalink

This topic has been resolved and has been closed to new replies.