Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / October 2004

Tip: Looking for answers? Try searching our database.

how to stop a submit

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan - 05 Oct 2004 11:58 GMT
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
Jonathan - 05 Oct 2004 18:29 GMT
This is a critical issue that I am facing, please respond asap, if more
information is needed , jsut ask!
Thanks
-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
[quoted text clipped - 7 lines]
> Thanks
> -Jonathan
Josh Bertsch [MSFT] - 05 Oct 2004 23:58 GMT
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

> This is a critical issue that I am facing, please respond asap, if more
> information is needed , jsut ask!
[quoted text clipped - 12 lines]
>> Thanks
>> -Jonathan
Jonathan - 06 Oct 2004 13:39 GMT
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

> It's hard to debug your solution from this level.
>
[quoted text clipped - 25 lines]
> >> Thanks
> >> -Jonathan
Greg Collins [MVP] - 08 Oct 2004 22:30 GMT
Did you select the Stop Processing Rules When This Rule Finishes check box for the rule that displays the error message? If not, then the rules will continue to run down to your submit rule.

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

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

"Josh Bertsch [MSFT]" wrote:

> It's hard to debug your solution from this level.
>
[quoted text clipped - 25 lines]
> >> Thanks
> >> -Jonathan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.