Welcome Guest, Not a member yet? Register   Sign In
Form_Dropdown with Blank "Select One..." Option
#1

[eluser]dhall[/eluser]
I have several forms on my site that have dropdowns, both static options and dynamic from a database table.
I would like the default option to be "Select One..." with a blank key that would throw an error if an actual option is not selected when the form is submitted.

Right now the first option in my dropdown is always shown.

What can I do to have this done on all dropdowns? I figure modifying the actual form_dropdown helper, but I am not sure how.

Thanks for the help.


Messages In This Thread
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 03:08 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 04:19 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 05:01 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 05:07 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 05:11 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 05:12 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 05:14 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 05:27 AM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-07-2012, 09:36 PM
Form_Dropdown with Blank "Select One..." Option - by El Forum - 08-08-2012, 03:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB