Avatar of NYGiantsFan
NYGiantsFan
Flag for United States of America

asked on 

cfselect not working in coldfusion 8?!?

Hi, the below code is not requiring that a state be selected.  any ideas?


<cfselect name="vendorstate" id="vendorstate" tabindex="12" required="yes" class="classmainfont" message="State is Required" >
                              <option value="">Please Select</option>
                                  <cfoutput query="getStates">
                                    <option value="#Abbreviation#" <cfif #vendorstate# eq #Abbreviation#>selected</cfif>>#Abbreviation#</option>       	 </cfoutput>
                          </cfselect>

Open in new window

Web ServersColdFusion Language

Avatar of undefined
Last Comment
Zvonko

8/22/2022 - Mon