Condition Based on Clicking Button

Condition Based on Clicking Button

Post by triciabsul » Wed, 05 Mar 2008 08:26:44


I've set a submit button to automatically email a predetermined
address when clicked. Working fine.

If someone checks a certain tick box in the form I would also like a
section to appear AFTER they click the submit button.

I want this section to only be seen by the person receiving the form.
Not the person filling out the form.

I'm a beginner. Thanks.
 
 
 

Condition Based on Clicking Button

Post by Q2xheSBGb3 » Wed, 05 Mar 2008 08:49:00

For a workflow there are two key elements.
One is identification of the user.
The other is tracking the state of the form, or which step in the process it
is in.

With a web service you can identify the form user each time, as well as
lookup their emal address, manager, department, etc.

Then also have a field in your form which stores the state of the form.

In your case you would want to have several actions on your submit button
one to update the field to submitted or whatever you want to call that state
and then to email it. if you email first then the copy they recieve will not
say submitted so make sure you get the order correct.
Then put conditional formatting on the section or field to hide if the
formstate field is not submitted or what ever.

If you would like to see some examples of workflow let me know.
--
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

 
 
 

Condition Based on Clicking Button

Post by triciabsul » Wed, 05 Mar 2008 22:38:38


Got it. I wasn't quite clear at first but with some trial and error I
figured it out. You rock!