Not sure, but in both cases I got the expected pop up message.

Cheers,
Mark


>Is this the "expected" behaviour, or a bug (CFMX)?
>
>If NOT required:
>
><cfinput type="Text" name="MonthlyIncome" message="Monthly Income must be a
>valid Number" validate="integer" required="No">
>
>Will simply return an error "Error in MonthlyIncome" (or something like
>that...) rather than using the defined message.
>
>
>If required:
>
><cfinput type="Text" name="MonthlyIncome" message="Monthly Income must be a
>valid Number" validate="integer" required="Yes">
>
>It will use the defined message.
>
>
>To prevent errors, I need to be sure the user only enters valid numbers 
>into
>all such fields, however, all fields are not required.  May have to go with
>JavaScript Validation instead...
>
>Thoughts?






______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to