Answered
Extending CFFORM JavaScript Validation
How can I extend the JavaScript validation offered by CFFORM?
What I have is a CFSELECT with a <option value="">Please Select...</option> inserted before the entries populated from a query.
What I want is the default "Please Select..." option to be rejected as a non-valid selection as if no selection had been made.
I can't seem to be able to insert another JavaScript function into the standard onSubmit function that CFMX generates.
Anyone got a way around this?
What I have is a CFSELECT with a <option value="">Please Select...</option> inserted before the entries populated from a query.
What I want is the default "Please Select..." option to be rejected as a non-valid selection as if no selection had been made.
I can't seem to be able to insert another JavaScript function into the standard onSubmit function that CFMX generates.
Anyone got a way around this?