Email with Submit button

J

Jay

I have a couple of forms that have a specific view for emailing. This view
contains a limited amount of information from the primary form/view that I
want the email recipient to see without having to open the form. When I send
the form using File > Send to Email Recipient, this feature works perfectly.
When I send the form using the Submit button, no views are being displayed in
the email text. Is there a way that the Submit button can be configured to
include the current view (or the view of my choice) in the body of the email?
 
R

RSorrell2

Jay

I use this to switch views on a Print button:
//To Switch View:
XDocument.View.SwitchView("Print View");
//To print:
XDocument.PrintOut();
//Switch back to main view:
XDocument.View.SwitchView("View 1");

you can always add a rule to the button,

Condition - This rule always applies and the Action - Switch Views

I hope this helps
 

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