|
|
Server Side Validation on Tabbing out of Field
Hi,
Is it possible to do serverside validation on tabbing out of a field ( as opposed to on submit)? In my scenario, client side validation will not suffice when tabbing out of a particular field.
If so could I have an example?
This is a far as I got - When leaving the field, I call up a javascript function, which routes to the controller amp; get the extra data I want + does some validation logic. - I return to the page, having the all data I need but cannot force the screen to display a chosen validation message.
I tried the below on my quot;firstNamequot; field but none work -- document.ownerForm.firstName.displayMessage(quot;Error Messagequot;); -- document.ownerForm.firstName.invalidMessage = 'Error Message' -- dojo.widget.byId(quot;_firstName_idquot;).invalidMessage = 'Error Message'
thanks in advance,
Kevin |
|