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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Field Validation not working

Status
Not open for further replies.

johnhig

MIS
Jun 25, 2007
54
US
I have a form and for some reason the validation is not working. I just started modifing one of the fields, because prior to this the field(s) were not required. Now the powers that be want some field(s) required.

<cfinput name="mileage" type="text" value="#mileage#" size="8" required="yes" message="Please enter a mileage" class="TextInput" onFocus="setFieldBGColor()" onBlur="resetFieldBGColor()">

Is there something/somewhere I can check?

John
 
Thank you. I read the article and had the .js file already copied into the web directory.

It has to be something within my form. Because it works on other forms within the web directory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top