Display Checkbox Results w/Bullets in Notification [RESOLVED]

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 notifications:

Include the optional 2nd page, Include my teaching assistant or co-teacher’s name, Include my email address, Include my phone number

I’d like my notification to list each item checked as a bullet point instead. I’ve tried the following shortcode, but it returns blank.

 [gravityforms action="conditional" merge_tag="{Flyer Options:75:value}" condition="is" value="1"]
Include the optional 2nd page
[/gravityforms]
[gravityforms action="conditional" merge_tag="{Flyer Options:75:value}" condition="is" value="2"]
Include my teaching assistant or co-teacher's name
[/gravityforms]
[gravityforms action="conditional" merge_tag="{Flyer Options:75:value}" condition="is" value="3"]
Include my email address
[/gravityforms]
[gravityforms action="conditional" merge_tag="{Flyer Options:75:value}" condition="is" value="4"]
Include my phone number
[/gravityforms]

I’ve confirmed that the Checkbox field contains values that match what you see in the shortcode.

I appreciate any suggestions!

For the conditional shortcode to evaluate the rule correctly for a checkbox choice, you need to use the input id instead of the field id e.g.

[gravityforms action="conditional" merge_tag="{Flyer Options:75.1:value}" condition="is" value="1"]
Include the optional 2nd page
[/gravityforms]
[gravityforms action="conditional" merge_tag="{Flyer Options:75.2:value}" condition="is" value="2"]
Include my teaching assistant or co-teacher's name
[/gravityforms]
[gravityforms action="conditional" merge_tag="{Flyer Options:75.3:value}" condition="is" value="3"]
Include my email address
[/gravityforms]
[gravityforms action="conditional" merge_tag="{Flyer Options:75.4:value}" condition="is" value="4"]
Include my phone number
[/gravityforms]

If you would prefer to use just the field merge tag instead of conditional shortcodes, you could use the gform_merge_tag_filter to modify the merge tag output for the field.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.