Exclude Notification Field if they a not used

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

Jacques
Emirates Airlines
Day Tour

Airport Transfers

I need my Notification to read:

Jacques
Emirates Airlines
Day Tour
Airport Transfers

How to I take out {More2:180} in my Notifications?

You can use conditional shortcodes around those merge tags, so they are only output when they contain a value. See the documentation here:

Let us know if you have any questions setting that up.

I’ve checked but its not working.
My Notification is setup as:

[gravityforms action=“conditional” merge_tag=“{More 1:128}” condition=“isnot” value=“”]{More 1:128} [/gravityforms]
[gravityforms action=“conditional” merge_tag=“{More 2:130}” condition=“isnot” value=“”]{More 2:130} [/gravityforms]
[gravityforms action=“conditional” merge_tag=“{More 3:131}” condition=“isnot” value=“”]{More 3:131}[/gravityforms]

When I fill in all the fields
More 1 = Flights
More 2 = Transfers
More 3 = Tour
my Notification says:
Flights
Transfers
Tour

When I fill in all the fields
More 1 = Flights
More 2 =
More 3 = Tour
my Notification says:
Flights

Tour

I need to know how do I Remove the LINE from Flight and Tour?
My Notification must read:
Flights
Tour

You can check the box “Disable auto-formatting” and the line breaks will not be converted to HTML br and p tags. Then you have to add all your own HTML markup, because WordPress won’t do any of it.

You may have to experiment a bit to ensure you have the line breaks where you want them still.

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