cfinput validation not working - how do I debug?
I just need to make the field required, so I have this :
<cfinput type="text" name="tracking_number" required="yes" message="Carrier Tracking Number is required.">
However, when I just click submit, the form submits and the validation does not work. What is wrong with my code ?
I also have some javasript validation, so on cfform, I have this :
<cfform action="closeItem.cfm" method="post" name="closeItemForm" onSubmit="return ValidateForm()">
But I don't think the onSubmit will override the cfinput validation, will it ?
Seems simple enough, but I just cannot see what the problem is.
