Data validation and scripts (OpenInsight Specific)
At 08 MAR 1999 01:54:44PM S. Berger wrote:
I know I have seen a post similar to this before but I can't find it. I have edit lines on a form for which I have set up validation, ie boolean, date and so on. That works fine until I add a script to the control. How do I get both the validation and the script to process.
An easy solution would just do the checking in the script which is ok for times when there are few valid options. However, some of the validation is going against other tables with many options.
Help
Thanks
S
At 08 MAR 1999 02:12PM Greg James, ISIS, Inc. wrote:
Are you returning 1 rather than 0 in the scripts (I assume that the scripts are firing at GotFocus, LostFocus, etc.) to enable the event processing to continue?
I had a similar problem when using using validation/conversion and scripts firing on GotFocus/LostFocus. Returning 1 seemed to fix the problem.
Greg James
International Severity Information Systems, Inc.
Salt Lake City, UT
At 08 MAR 1999 02:41PM S. Berger wrote:
That did it. Thanks Greg
S