Checking form validation

B

Bagger

Here's what I'm trying to do. I have a form, with fairly complex constraints
on many of the fields. I think those are working pretty well though. What I
need to do is to have a save button on the form that will generate the proper
filename based on the fields in the form and save the file with that name to
a specific location on their drive. I have the script to do that working as
well.

Now, the problem I'm having is how to check to see if the form validates
before I save it. Is there a way to trigger the validation programmatically
and get a return value that I can use to determine whether to cancel the save
or not?

- Kris
 
Top