how to stop a submit

J

Jonathan

I have a button that performs a submit action. The rules that I have
defined will submit to an email datasource if certain other conditions
are true. If these other conditions are not met the email is not
submitted; however a message is displayed to the user that the submit
was successful.

Is there a way to only have the submit be succesful if certain rules
have been run?

Thanks
-Jonathan
 
J

Jonathan

This is a critical issue that I am facing, please respond asap, if more
information is needed , jsut ask!
Thanks
-Jonathan
 
J

Josh Bertsch [MSFT]

It's hard to debug your solution from this level.

Are all of your rules set on the button itself? Is there any code be run
onClick?

When using the email submit, as long as the conditions are all TRUE, the
user will get an email prompt showing what and where they are sending the
form. If you click "send" on that dialog, the email will always get sent.
If you are not seeing that dialog, perhaps you can explain exactly how you
are performing the submit.

--josh bertsch
 
J

Jonathan

Currently all the funtionality is in the rules, so there is no onclick
handler in code.

I am trying to put workflow control into the rules of the submit. My form
has three levels of approval, at each approval the recipient digital signs
their section.

So I am checking if signature1 is signed, and sig2 and sig3 are blank then
email address1. If sig1 and sig 2 are signed and sig 3 is blank email
address2. If all three sigs are signed email address3. If not sections
are signed or the wrong section is signed do not send email but put up an
error message (failing the submit).

At the moment if I get into the error state, I still see the submitted
successfuly message, and the form closes (as I have set in submit options.)

Does this clear up my situation?

Thanks
-Jonathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top