Title: Email Output without visible fields?
Last modified: March 4, 2020

---

# Email Output without visible fields?

 *  Resolved [fl4mers](https://wordpress.org/support/users/fl4mers/)
 * (@fl4mers)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/email-output-without-visible-fields/)
 * Hi Jules,
 * I was wondering if it’s possible to customize the output email to only show the
   groups that are selected?
 * I have the issue that I have an “add student 2” option, which uncovers new fields
   for the user to fill in.
 * However, the default fields are showing on the output email even when “add student
   2” has not been selected.
 * As such, I only want those default fields to show if “add student 2” checkbox
   has actually been selected.
 * I hope that makes sense.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/email-output-without-visible-fields/#post-12517342)
 * Yes, this is explained here: [https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-use-conditional-logic-in-the-email-message/](https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-use-conditional-logic-in-the-email-message/)
 *  [kokoruz](https://wordpress.org/support/users/kokoruz/)
 * (@kokoruz)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/email-output-without-visible-fields/#post-12554130)
 * I am experiencing the same issue/question.
 * I am capturing medical practitioner titles. When I output the email I want it
   to say ‘Kurt Kokoruz, MD’ or replace the title designation with what the user
   types. Unfortunaltey what I am getting is ‘Kurt Kokoruz, OTHER – Please Specify
   LMNOP’ assuming I type ‘LMNOP’ in the conditional field. How do I get the mail
   to output to only show ‘Kurt Kokoruz, MD’ or ‘Kurt Kokoruz, LMNOP’ If the user
   selects ‘Other’ I don’t want that to print.
 *     ```
       [select* Designation_GEK first_as_label "Designation" "DO" "MD" "NP" "PA" "OTHER - Please Specify"]
       [group designation-other][text* Designation_Other_GEK placeholder "Specify Designation"][/group]
   
       <p>[Full_Name_GEK], [Designation_GEK][Designation_Other_GEK] <br/>
       ```
   
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/email-output-without-visible-fields/#post-12575386)
 * Add another empty group like this:
    `[group not-designation-other][/group]`
 * And another condition:
    `show [not-designation-other] if [Designation_GEK] not
   equals "OTHER - Please Specify"`
 * The try this:
    `<p>[Full_Name_GEK], [not-designation-other][Designation_GEK][/
   not-designation-other][Designation_Other_GEK]</p>`
 * If this doesn’t work, please create a new topic and copy your question there.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Email Output without visible fields?’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/email-output-without-visible-fields/#post-12575386)
 * Status: resolved