PDA

View Full Version : Cancel exit based on validation of field ...



mplanchart
03-22-2006, 06:07 PM
Hi,

How can I cancel a Next button command based on information that doesn't validate correctly?

I appreciate any help,

Thanks

enanrum
03-22-2006, 06:51 PM
I believe what you want to do is in the queryExitDialogName, do your validation there and if it fails just add:

context.setReturnValue(false);

Regards,
Tom