# Conditional shortcode not working in confirmation message \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/conditional-shortcode-not-working-in-confirmation-message-resolved/18290>\
**Category:** Get Help\
**Tags:** conditional-logic\
**Created:** [October 4, 2024, 4:45pm UTC](https://community.gravityforms.com/t/conditional-shortcode-not-working-in-confirmation-message-resolved/18290 "2024-10-04T16:45:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user67000a406aca8630](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@user67000a406aca8630](https://community.gravityforms.com/u/user67000a406aca8630)\
**Post date:** [October 4, 2024, 4:45pm UTC](https://community.gravityforms.com/t/conditional-shortcode-not-working-in-confirmation-message-resolved/18290/1 "2024-10-04T16:45:51Z")

</div>

Hi - I’m trying to display brochure download links based on which options the user selects in the checkboxes. I’ve tried with both condition=is and condition=contains, and tried various ways to format the merge tag.

Currently no data is output from the 3 conditional statements when form is submitted.

Form is here:

> **[Download a Brochure](https://agecare.uk.com/contact-us/download-brochure/)**
>
> \[et\_pb\_section fb\_built=”1″ custom\_padding\_last\_edited=”on|phone” admin\_label=”section” \_builder\_version=”4.20.2″ custom\_padding=”22px||65px|||” custom\_padding\_tablet=”0px||||false|false” custom\_padding\_phone=”0px||||false|false”...

Scren shots below/attached.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/6/66d2c9f9d546479471145f4e644391531fbaebb8.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![user67000a406aca8630](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@user67000a406aca8630](https://community.gravityforms.com/u/user67000a406aca8630)\
**Post date:** [October 4, 2024, 5:01pm UTC](https://community.gravityforms.com/t/conditional-shortcode-not-working-in-confirmation-message-resolved/18290/2 "2024-10-04T17:01:33Z")

</div>

Just solved it!

It was that the double quotes were “curly quotes” instead of straight quotes. For the record, this is the code that ended up working:

[gravityforms action=“conditional” merge\_tag=“{Care:6.1:value}” condition=“contains” value=“1”]

Bullsmoor link here [/gravityforms]

[gravityforms action=“conditional” merge\_tag=“{Care:6.2:value}” condition=“contains” value=“2”]  
Five Oaks link here  
[/gravityforms]

[gravityforms action=“conditional” merge\_tag=“{Care:6.3:value}” condition=“contains” value=“3”]  
Millway link here  
[/gravityforms]

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [October 4, 2024, 8:19pm UTC](https://community.gravityforms.com/t/conditional-shortcode-not-working-in-confirmation-message-resolved/18290/3 "2024-10-04T20:19:30Z")

</div>


