I want to force the user to select a country code when submitting a form. The select box looks like:
<cfselect name="countrycode" required="Yes" size="5" message="Please select a country code."> <option value="" <CFIF get04.CountryCode IS ''>selected</cfif>>Please select</option> <option value="AU" <CFIF get04.CountryCode IS 'AU'>selected</cfif> >Australia</option> etc. I do not want them to be able to select the "value=""" option. How to do this? Rick. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339609 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

