InfoPath 2003 - Validate Entire Form before Submitting
I have a pretty complicated form with custom buttons in it. I would like these buttons to validate the entire form WITHOUT submitting.
Can you call that function by itself? I know it runs when you submit but I need to call it early if possible.
Basic function of buttons.
Is this is what you are going to do, are you sure?
If Yes - Send email with form info, submit info to DB.
If No - Message goes to user and nothing is submitted.
The problem is that the email can get sent now if there are validation errors on the form.
I would like to stop the user from seeing any of this if they have not filled out the form correctly. So if I can check it and kick it back before it runs the email code that would be great. I am having troubles figuring this out...
I am using VB Script in this form.
Thanks for any help you can offer!
Re: InfoPath 2003 - Validate Entire Form before Submitting
Hrm... still stuck on this. Let me see if I can simplify this.
When you click submit in InfoPath it validates the form, then it submits the changes to the database.
How do you call just the validate function in VB Script?
Any help or advice you can offer would be appreciated.
Thanks!