Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFSELECT Validation? Input check

Status
Not open for further replies.

jmcg

Technical User
Jun 30, 2000
223
0
0
GB
I am trying to get a check on a CFSELECT before submission to ensure the default value has not changed.
Basically I want an error message to appear if the [Select] is submitted.
Is this possible via CF?
Code:
<cfselect name="artwork" required="yes" message="Please select the artwork type">
	<option value="">[Select]</option>
	<option value="Disc">Disc</option>
	<option value="PDF">PDF</option>
	<option value="MailBigFile">MailBigFile</option>
</cfselect>

I know this can be done via Javscript however as all the other validation are via CF I would rather keep it all in one place.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top