Previous | Next | (P-PDF) JavaScript
Topic: Re: Exit Submit Button (Via Email)
Conf: (P-PDF) JavaScript, Msg: 28626
From: prodok
Date: 10/17/2001 03:17 AM
These two actions are executed independently of each other. This
means that the second action does not consider the result of the
first one.
However, in your case, you do not really need two actions. In fact,
you could also do the submit controlled via JavaScript, using the
submitForm() method. This should completely solve your problem.
Hope, this can help.
Max Wyss
PRODOK Engineering
Low Paper workflows, Smart documents, PDF forms
CH-8906 Bonstetten, Switzerland
Fax: +41 1 700 20 37
e-mail: mailto:max@prodok.com
http://www.prodok.com
[ Building Bridges for Information ]
______________________
Shameless Plug:
I will have presentations and pre- and post-conference workshops at
the .PDF2001 West Conference in Scottsdale, AZ, Nov. 5 to 7, 2001.
More details at http://www.pdfconference.com.
Workshops:
Nov. 4: Implementing Business Processes based on PDF
Nov. 8: Enhancing PDF Forms
_________________________
>I have a submit button that has 2 actions. The first is a
>javascript call to a verify function. The second is a submit form
>action. What I'm trying to do is exit the submit button if the
>verify function is false. Right now it just executes the verify
>function, ignores the return value (of false) and then executes the
>submit form action. Can I use Approve.Exit() to stop the submit
>button, or is there some other function?
>