Multiple submit buttons that email to different addresses.

J

Jamie

Hello,

Is there a way to make a form with several buttons on it and each button
emails a different person. I want to create a form that when filled out the
first person clicks on a button to send it to their manager then after they
sign it they can click on a button to approve and send it to our HR
department.

Thank you very much for any help you can give.
 
S

Simon R

Jamie,

This is possible, all you have to do is create a seperate data connection
that emails to a different person. You can set the 'To' field to a field
that has been filled in by a user or is set by yourself in the data
connection.

Anyway, I hope this helps

Simon
 
J

Jamie

The problem is once I set the second button to a different data connection it
changes by first button to the same data connection that I just set on the
second button. I don't know what I am doing wrong. Please help I am going
crazy trying to get this to work.

Thank you,
Jamie
 
S

Simon R

Jamie,

On the button don't use the Submit action, use the Rules and custom code.
This way you can set a rule for each button (That rule being Submit to a Data
Connection).

Hope this helps

Simon
 
Top