Menu

Blank first field in dropdown box?

Help
Anonymous
2003-06-28
2003-06-29
  • Anonymous

    Anonymous - 2003-06-28

    When creating dropdown boxes, is there a way to make the initial field blank, so that the user is obliged to scroll and make a selection?
    I've made a form with dropdowns, but if the user forgets to select an item the form is still sent as if he/she had selected something.
    Thanks a lot.
    Colin

     
    • Musawir Ali

      Musawir Ali - 2003-06-28

      when inputting the options for the drop down menu, add an extra option at the top that says something like *select from the following options* . That should do what you are trying to.

       
    • Anonymous

      Anonymous - 2003-06-29

      I've done that, but if the user forgets to make a selection the *select from following options* item is validated and the form is sent. So the feedback I get, for example, is:
      Name: John Smith
      Country: select from following options

      Is there some way I can configure it so that the user has to go back and make a valid selection from the dropdown box with the list of countries?
      Thanks

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.