Make it <option value=""></option>
----- Original Message -----
From: "John Cowie" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 3:00 PM
Subject: Validation of a select Menu using <cfselect>


> Hi Everyone.  I am running into a problem validating a select menu using
> <cfform>. All of my <cfinput> tags are validating fine but the select
> menu doesn't seem to be working.
>
> Here is the code that I am using.  If anyone can see what I am doing
> wrong I would appreciate the help.
>
> Thanks in advance
>
> John
>
> <cfform action="addrecord.cfm" method="POST">
> <cfselect name="Status_Field" size="1" message="Please select a
> category" required="Yes">
> <option selected></option>
> <option value="Member">Member</option>
> <option value="Non-Member">Non-Member</option>
> <option value="Student">Student</option>
> <option value="Educator">Educator</option>
>
> </cfselect>
> </cfform>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to