When you include the option ":include_blank => true", then the select
function includes a blank option. How do you specify text for that
option? Many thanks from this newbie for your help!
When you include the option ":include_blank => true", then the select
function includes a blank option. How do you specify text for that
option? Many thanks from this newbie for your help!
I think that might defeat the purpose as in your second example if left on the initial selection the form will be submitted with a value of "[Select One]" for that field which is probably not what you want.
What you want is:
<option value="">[Select One]</option>
Which you can do by just making it the first available option.
When you include the option ":include_blank => true", then the select
function includes a blank option. How do you specify text for that
option? Many thanks from this newbie for your help!