Email a from with multiple views limited bu user roles

D

darcone

Hello,

I have a form that has 2 views.
-Request view
-Approval View
Now these views switch based on user roles. The employee only can see the
request view. In that request view they type in the email address for the
submit button to email to. In the Approval view there is another submit
button that emails to another person and cc the person that filled out the
request based on the email inputed in this view. But when you hit the submit
button in the request view it keeps trying to process the second views submit
button. This causes a problem because the user cannot put in the email
address to send to on the approval view. I have tried useing rules and submit
to a data connection and just using the submit button and neither work.

Can i make it where the submit button does not initiate the submit button in
the other view?
 
S

S.Y.M. Wong-A-Ton

Hi darcone,

When adding the rules to submit to a data connection, did you also add a
condition on each rule according to which role the user has? If not, try
this: Add a condition to each of the rules on the buttons that say:
1. "User's current role" is equal to <Request view role> for the rule on the
submit button on the Request view, and
2. "User's current role" is equal to <Approval view role> for the rule on
the submit button on the Approval view.

Hope this helps.

Regards,
S.Y.M. Wong-A-Ton
 

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