1. Create a Infopath form with all the fields
2. Create another view which you can use the existing columns , if necessary
Now the task is , When user submits the form, the second view must be the conformation Email that he need to get.
In order to Achieve that We need to use "Switch Views" in rules.
Procedure:
First Create a Email Submit Data Connection
This way there are 3 rules
2. Create another view which you can use the existing columns , if necessary
Now the task is , When user submits the form, the second view must be the conformation Email that he need to get.
In order to Achieve that We need to use "Switch Views" in rules.
Procedure:
First Create a Email Submit Data Connection
Click "Tools" >> "Data Connections…"Click "Add…"Select "Create a connection to" >> "Submit data" and click "Next >"Select "As an e-mail message" and click "Next >"Enter an e-mail address in the "To" header field, or bind it to a field in your form template.Fill out any other e-mail header information and finish the wizard.Click "OK" / "Finish" / "Close" to get out of the wizard and finalize your e-mail submit data connection.
Now Create a View which you want to use for the Email.
Click on Page Design on the Ribbon.Click on New ViewAdd appropriate Information onto this
Now Click on "Data" on the ribbon
go to "Submit Options"
Select "Allow users to submit this form"
Select "Perform custom action using Rules"
Once You select this , on the right most part of the Infopath form "Rules" window will appear.
Click "New" and select" Action"Dont change the condition.Click "Add" beside"Run these actions" and select " Switch views" and select the second view from the drop down.
Create another dataconnection to submit to a email and add that to another rule under "submit options"
Add another rule (If it does not exists already!!!!) to use the main data connection ( submit to the list)
This way there are 3 rules
1. to switch the views" and 2. to submit to a Email. 3. to submit to the list
Now publish the form.
When you try to submit the form, it will submit the information to the list and it will send a email to the concerned person and it will send the second view in that Email.
Comments
Post a Comment