# \#conditional-shortcode

**URL:** https://community.gravityforms.com/tag/conditional-shortcode/92.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Field merge tags not to be showen combined with text](https://community.gravityforms.com/t/field-merge-tags-not-to-be-showen-combined-with-text/18281)

<div class="topic-metadata">

**Author:** [@evokecc](https://community.gravityforms.com/u/evokecc)\
**Replies:** 1\
**Last updated:** [October 2, 2024, 12:17pm UTC](https://community.gravityforms.com/t/field-merge-tags-not-to-be-showen-combined-with-text/18281 "2024-10-02T12:17:30Z")

</div>

Hello, Is it possible to disable a sentence with a field merge tag in for instance the confirmations when that product is not selected in the form? Amount brochures: {amount\_brochures:5} examples I know that when you …

---

## [Display only checkboxes that are not checked gravity forms notifications](https://community.gravityforms.com/t/display-only-checkboxes-that-are-not-checked-gravity-forms-notifications/16684)

<div class="topic-metadata">

**Author:** [@user5f286751995e0328](https://community.gravityforms.com/u/user5f286751995e0328)\
**Replies:** 0\
**Last updated:** [January 19, 2024, 7:06pm UTC](https://community.gravityforms.com/t/display-only-checkboxes-that-are-not-checked-gravity-forms-notifications/16684 "2024-01-19T19:06:42Z")

</div>

I am trying to display checkboxes that are not checked for pertinent negatives in an intake form for an eye surgeon. If a patient checks a box I do not want the value displayed in our notification. Here are the options: …

---

## [Enable "other" choice notification conditional logic](https://community.gravityforms.com/t/enable-other-choice-notification-conditional-logic/16540)

<div class="topic-metadata">

**Author:** [@user5f286751995e0328](https://community.gravityforms.com/u/user5f286751995e0328)\
**Replies:** 1\
**Last updated:** [December 30, 2023, 9:13pm UTC](https://community.gravityforms.com/t/enable-other-choice-notification-conditional-logic/16540 "2023-12-30T21:13:03Z")

</div>

Is there a way to get the information from an enable “other” choice on one of our radio button questions into our notification? The “other” is the forth radio button. Here is the code I have tried: \[gravityforms action…

---

## [Display Checkbox Results w/Bullets in Notification \[RESOLVED\]](https://community.gravityforms.com/t/display-checkbox-results-w-bullets-in-notification-resolved/16416)

<div class="topic-metadata">

**Author:** [@user5d34fe1900789911](https://community.gravityforms.com/u/user5d34fe1900789911)\
**Replies:** 1\
**Last updated:** [December 6, 2023, 2:13pm UTC](https://community.gravityforms.com/t/display-checkbox-results-w-bullets-in-notification-resolved/16416 "2023-12-06T14:13:30Z")

</div>

I’m using version 2.7.17 of Gravity Forms. My form in on protected site so I can’t share the URL. It includes a checkbox with 4 options. Using the plain merge tag it displays as a comma separated sentence in my notificat…

---

## [Linking a heading to a merge tag in notifications](https://community.gravityforms.com/t/linking-a-heading-to-a-merge-tag-in-notifications/15612)

<div class="topic-metadata">

**Author:** [@stephen](https://community.gravityforms.com/u/stephen)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 1:55pm UTC](https://community.gravityforms.com/t/linking-a-heading-to-a-merge-tag-in-notifications/15612 "2023-08-07T13:55:49Z")

</div>

Hi Team We have Gravity forms on our site, which has been supplied by our web developer and we have taken over the management of. I am keen to use some methodology of showing/hiding a heading if the merge tag is empty …

---

## [Adding Conditional Logic to form Confirmation Message \[RESOLVED\]](https://community.gravityforms.com/t/adding-conditional-logic-to-form-confirmation-message-resolved/15572)

<div class="topic-metadata">

**Author:** [@Jerryandtabatha](https://community.gravityforms.com/u/Jerryandtabatha)\
**Replies:** 7\
**Last updated:** [July 21, 2023, 11:50pm UTC](https://community.gravityforms.com/t/adding-conditional-logic-to-form-confirmation-message-resolved/15572 "2023-07-21T23:50:09Z")

</div>

Hello. I have a form that has a Checkbox section on it with 5 choices. The site visitor can select more than once choice at a time. How can I set the conditional logic for the confirmation form to display a link pertai…

---

## [Exclude Notification Field if they a not used](https://community.gravityforms.com/t/exclude-notification-field-if-they-a-not-used/15564)

<div class="topic-metadata">

**Author:** [@user648830884d262073](https://community.gravityforms.com/u/user648830884d262073)\
**Replies:** 3\
**Last updated:** [July 21, 2023, 11:03pm UTC](https://community.gravityforms.com/t/exclude-notification-field-if-they-a-not-used/15564 "2023-07-21T23:03:18Z")

</div>

Hi There I have a Notification where i Placed fields placed: {Name:103} {Flights:125} {More1:179} {More2:180} {Transfers:183} Now lets say the TAG {More2:180} is not filled in on the forms my Notification will rea…

---

## [Send emails to clients](https://community.gravityforms.com/t/send-emails-to-clients/15358)

<div class="topic-metadata">

**Author:** [@user5d35d15e8cffe214](https://community.gravityforms.com/u/user5d35d15e8cffe214)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 9:08am UTC](https://community.gravityforms.com/t/send-emails-to-clients/15358 "2023-06-20T09:08:46Z")

</div>

Can I have the possibility to send different customized emails to people depending on their answers? Thank you in advanced

---

## [Use Code Snippets to "centralize" 100's of identical notifications \[RESOLVED\]](https://community.gravityforms.com/t/use-code-snippets-to-centralize-100s-of-identical-notifications-resolved/14820)

<div class="topic-metadata">

**Author:** [@user5a1c3c16c41d97.7](https://community.gravityforms.com/u/user5a1c3c16c41d97.7)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 3:56am UTC](https://community.gravityforms.com/t/use-code-snippets-to-centralize-100s-of-identical-notifications-resolved/14820 "2023-04-06T03:56:25Z")

</div>

Hello, I have literally hundreds of notifications (say 15 forms with 30 different notifications for each form entry), and it is extremely exhausting to open every notification if I just want to make a small change. Hen…

---

## [Mollie payment status \> different confirmation page](https://community.gravityforms.com/t/mollie-payment-status-different-confirmation-page/14762)

<div class="topic-metadata">

**Author:** [@user5ddeafba96c23901](https://community.gravityforms.com/u/user5ddeafba96c23901)\
**Replies:** 0\
**Last updated:** [March 22, 2023, 1:37pm UTC](https://community.gravityforms.com/t/mollie-payment-status-different-confirmation-page/14762 "2023-03-22T13:37:02Z")

</div>

Hello, I want to have 2 different confirmation pages, based on the payment (paid or not). I’v found the work-around to show different text, with following shortcodes, which works fine: \[gravityforms action=“conditiona…

---

## [Display Multiple Confirmations at the same time](https://community.gravityforms.com/t/display-multiple-confirmations-at-the-same-time/14701)

<div class="topic-metadata">

**Author:** [@user5c37841c8637f9.6](https://community.gravityforms.com/u/user5c37841c8637f9.6)\
**Replies:** 1\
**Last updated:** [March 13, 2023, 11:07pm UTC](https://community.gravityforms.com/t/display-multiple-confirmations-at-the-same-time/14701 "2023-03-13T23:07:56Z")

</div>

Hi, I have a client that wants a unique confirmation for each of 6 options. If multiple checkboxes are selected he would like all selected confirmations to show. I’m currently using conditional formatting to load 1 con…

---

## [Insert a symbol such as "/" in all fields of the mail notification that have not been filled in](https://community.gravityforms.com/t/insert-a-symbol-such-as-in-all-fields-of-the-mail-notification-that-have-not-been-filled-in/14677)

<div class="topic-metadata">

**Author:** [@paolochiesa](https://community.gravityforms.com/u/paolochiesa)\
**Replies:** 3\
**Last updated:** [March 13, 2023, 2:01pm UTC](https://community.gravityforms.com/t/insert-a-symbol-such-as-in-all-fields-of-the-mail-notification-that-have-not-been-filled-in/14677 "2023-03-13T14:01:19Z")

</div>

HI Can a symbol appear instead of the empty space in the notification mail in all fields that are not filled in? Example: Allergies: / or Allergies: (empty)

---

## [How to redirect to email login page based on email address domain](https://community.gravityforms.com/t/how-to-redirect-to-email-login-page-based-on-email-address-domain/12739)

<div class="topic-metadata">

**Author:** [@pedrorodriguez3265](https://community.gravityforms.com/u/pedrorodriguez3265)\
**Replies:** 2\
**Last updated:** [June 7, 2022, 6:13pm UTC](https://community.gravityforms.com/t/how-to-redirect-to-email-login-page-based-on-email-address-domain/12739 "2022-06-07T18:13:11Z")

</div>

I have a registration page where I am capturing user email address, once the registration is completed user has to activate an account… this process is working fine. now what I am looking here is I would like to give “G…

---

## [Mollie confirmation message based on payment status](https://community.gravityforms.com/t/mollie-confirmation-message-based-on-payment-status/11466)

<div class="topic-metadata">

**Author:** [@Melvin](https://community.gravityforms.com/u/Melvin)\
**Replies:** 3\
**Last updated:** [December 23, 2021, 2:42pm UTC](https://community.gravityforms.com/t/mollie-confirmation-message-based-on-payment-status/11466 "2021-12-23T14:42:46Z")

</div>

Hi, I would like do display a confirmation message based on the mollie payment status (success or failed). There does not seem to be a conditional shortcode available to achieve this. Any help would be greatly appreci…

---

## [Hide Empty Fields in Email \[RESOLVED\]](https://community.gravityforms.com/t/hide-empty-fields-in-email-resolved/11028)

<div class="topic-metadata">

**Author:** [@user5fba07dabf16d247](https://community.gravityforms.com/u/user5fba07dabf16d247)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 4:12pm UTC](https://community.gravityforms.com/t/hide-empty-fields-in-email-resolved/11028 "2021-10-26T16:12:22Z")

</div>

While I see that there is a condition that can be posted within a shortcode, I’d like to know how this can be accomplished within the Notifications? Or is this the same method? I have several “optional” fields and would …

---

## [Give user feedback based on radio button choice](https://community.gravityforms.com/t/give-user-feedback-based-on-radio-button-choice/10258)

<div class="topic-metadata">

**Author:** [@fbernall](https://community.gravityforms.com/u/fbernall)\
**Replies:** 7\
**Last updated:** [July 15, 2021, 11:59pm UTC](https://community.gravityforms.com/t/give-user-feedback-based-on-radio-button-choice/10258 "2021-07-15T23:59:55Z")

</div>

Greetings, I’ve created a quiz not with the quiz add-on I’m using radio buttons for the choices with values. I would like to display on the results page a comment based on the choice the user made. Kind of a feedback ap…

---

## [Recipients receiving different notification information based on form choices](https://community.gravityforms.com/t/recipients-receiving-different-notification-information-based-on-form-choices/7790)

<div class="topic-metadata">

**Author:** [@user5c912c08bbfbb9.3](https://community.gravityforms.com/u/user5c912c08bbfbb9.3)\
**Replies:** 3\
**Last updated:** [February 11, 2021, 12:25pm UTC](https://community.gravityforms.com/t/recipients-receiving-different-notification-information-based-on-form-choices/7790 "2021-02-11T12:25:41Z")

</div>

I am building a form where customers can choose to join any number of 5 online workshops, all on different dates. I want a notification to go out to customers including the Zoom password/link to the workshops they have …

---

## [Generate Report for user based on submission \[RESOLVED\]](https://community.gravityforms.com/t/generate-report-for-user-based-on-submission-resolved/7520)

<div class="topic-metadata">

**Author:** [@sia\_bl](https://community.gravityforms.com/u/sia_bl)\
**Replies:** 2\
**Last updated:** [February 5, 2021, 5:38pm UTC](https://community.gravityforms.com/t/generate-report-for-user-based-on-submission-resolved/7520 "2021-02-05T17:38:53Z")

</div>

Dear Community, we created a quiz which gives users suggestions. For this we used Conditional Shortcode. I have two questions: is it possible to display the suggestions with conditional shortcode on a temporary page…

---

## [Own shortcode based on form data \[RESOLVED\]](https://community.gravityforms.com/t/own-shortcode-based-on-form-data-resolved/5956)

<div class="topic-metadata">

**Author:** [@user5b01a03918d459.7](https://community.gravityforms.com/u/user5b01a03918d459.7)\
**Replies:** 2\
**Last updated:** [September 3, 2020, 3:12pm UTC](https://community.gravityforms.com/t/own-shortcode-based-on-form-data-resolved/5956 "2020-09-03T15:12:25Z")

</div>

Hi, In my project I have to display about 30 different notifications after submitting the form. I would like to avoid defining 30 different notifications :slight\_smile: The confirmation ( i only can use text confirmati…

---

## [Conditional Logic within Notification Message Field \[RESOLVED\]](https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620)

<div class="topic-metadata">

**Author:** [@endurox](https://community.gravityforms.com/u/endurox)\
**Replies:** 2\
**Last updated:** [August 4, 2020, 9:11pm UTC](https://community.gravityforms.com/t/conditional-logic-within-notification-message-field-resolved/5620 "2020-08-04T21:11:43Z")

</div>

Is it possible to have conditional logic within the “Message” field of the “Notifications” message? For example if someone omits a non-required field, say {Name (First):2.3}, I would like to replace it with “Friend”. E…

---

## [How do I send email 'report' to user based on form submission](https://community.gravityforms.com/t/how-do-i-send-email-report-to-user-based-on-form-submission/3833)

<div class="topic-metadata">

**Author:** [@user5cc2cb4c3ba32015](https://community.gravityforms.com/u/user5cc2cb4c3ba32015)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 6:31pm UTC](https://community.gravityforms.com/t/how-do-i-send-email-report-to-user-based-on-form-submission/3833 "2020-02-14T18:31:36Z")

</div>

Hello, I am looking for a way to create a couple of forms on a website that presents the user with various questions and three options for each one. And depending on the user’s submission, Gravity Forms needs to send a …

---

## [Exclude blank fields from notifications \[RESOLVED\]](https://community.gravityforms.com/t/exclude-blank-fields-from-notifications-resolved/2288)

<div class="topic-metadata">

**Author:** [@user5d2bce7554cac534](https://community.gravityforms.com/u/user5d2bce7554cac534)\
**Replies:** 4\
**Last updated:** [July 17, 2019, 5:39pm UTC](https://community.gravityforms.com/t/exclude-blank-fields-from-notifications-resolved/2288 "2019-07-17T17:39:28Z")

</div>

Hi all, I’m moving over from Contact Form 7 to Gravity Forms. One feature that CF7 has that would be really helpful for Gravity Forms is the ability to remove lines from email notifications that contain blank tags. Bas…

---

## [Display shortcode result in the field](https://community.gravityforms.com/t/display-shortcode-result-in-the-field/2205)

<div class="topic-metadata">

**Author:** [@user5d09cdb326893679](https://community.gravityforms.com/u/user5d09cdb326893679)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 7:36am UTC](https://community.gravityforms.com/t/display-shortcode-result-in-the-field/2205 "2019-07-08T07:36:25Z")

</div>

Hi! I want to write to the number field shortcode value automatic, for example GravityWP count result. Possible? I want to use gv\_logic with the number field. Thanks for the help!

---

## [Conditional Shortcode: carriage return breaks evaluation](https://community.gravityforms.com/t/conditional-shortcode-carriage-return-breaks-evaluation/1923)

<div class="topic-metadata">

**Author:** [@PeMu](https://community.gravityforms.com/u/PeMu)\
**Replies:** 0\
**Last updated:** [May 23, 2019, 10:22am UTC](https://community.gravityforms.com/t/conditional-shortcode-carriage-return-breaks-evaluation/1923 "2019-05-23T10:22:49Z")

</div>

I’m using conditional shortcodes to track if the value of a field has been changed by using a second hidden field as below. \[gravityforms action=“conditional” merge\_tag="{Address:13}" condition=“isnot” value="{Address:1…

---

## [Notification Email with Conditional Statements Issue \[RESOLVED\]](https://community.gravityforms.com/t/notification-email-with-conditional-statements-issue-resolved/870)

<div class="topic-metadata">

**Author:** [@user5a962fc0ae4665.5](https://community.gravityforms.com/u/user5a962fc0ae4665.5)\
**Replies:** 1\
**Last updated:** [January 23, 2019, 4:09pm UTC](https://community.gravityforms.com/t/notification-email-with-conditional-statements-issue-resolved/870 "2019-01-23T16:09:11Z")

</div>

Hi all, this is my first post here but I am having an issue with the notification email that is sent upon submission of my form. I have 21 checkbox items and depending on which is selected. I’m using the conditional sh…

---

## [Conditional HTML in Confirmation Page](https://community.gravityforms.com/t/conditional-html-in-confirmation-page/371)

<div class="topic-metadata">

**Author:** [@muzicman82](https://community.gravityforms.com/u/muzicman82)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 4:51pm UTC](https://community.gravityforms.com/t/conditional-html-in-confirmation-page/371 "2018-11-15T16:51:05Z")

</div>

Hi all, Is it possible in the body of a confirmation page, to only show specific blocks of text if conditions are met? I’d like to customize almost an entire paragraph of the confirmation page based on the form data. T…
