InfoPath Email - InfoPath Dev
in

InfoPath Dev

InfoPath Email

Last post 01-27-2014 05:17 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-27-2014 07:36 AM

    • lezloh
    • Not Ranked
    • Joined on 01-24-2014
    • Posts 3

    InfoPath Email

    I have a form that submits an email. The form itself works fine. It is the email that I am having a problem with. I have fields on the email and I do not want the recipient of the email to be able to click (highlight and the box show up around it) on the textbox, dropdown, etc.
  • 01-27-2014 05:17 PM In reply to

    You can hide the controls for the view when you are emailing and replace with expression boxes (calculate values). We often add a field to a secondary XML or the main data source for these purposes - this thread may help you: http://www.infopathdev.com/forums/p/22656/78476.aspx

    Namely, this suggestion:

    What we do is have two sections in the active view (the one that we can email). We add a true / false (boolean) field named something like "isEmailing" and default it to false.

    Then, in conditional formatting, hide one section if isEmailing is false, the other section if isEmailing is true. All the controls that the user fills out or should see while filling out the form go in the section that hides when isEmailing is true. All the stuff we want in the email goes in the section that hides when isEmailing is false.

    Then, the rules on the email button would be:

    1. Set isEmailing to true (hides the fill in section, displays the email section)
    2. Submit via email
    3. Set isEmailing to false (hides the email section, displays the fill in section)

    Hope that makes sense....

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.