If Statement in Send Email

By: andrew Olson | Asked: 10/11/2023
ForumsCategory: General questionsIf Statement in Send Email
andrew Olson asked 1 year ago
I am trying to add this if statement to an email but keep getting a literal result.   [if [304] ="Yes"] Round Trip [else] One Way.[/if [304]] So I would expect when 304 = Yes that Round trip is displayed instead of yes, and it it is not yes then One way is displayed. What i get is  [if [304] ="Yes"] Round Trip [else] One Way.[/if [304]] displayed   What am I doing wrong? 
1 Answers
Best Answer
Rob LeVineRob LeVine answered 1 year ago
Use the syntax listed here https://formidableforms.com/knowledgebase/conditionals/ and change your code to [if 304 equals="Yes"] Round Trip [else] One Way.[/if 304]
andrew Olson replied 1 year ago

Thanks you It was that coding error on my part. Working as expected now. I have a journey ahead learning HTML.

Rob LeVineRob LeVine replied 1 year ago

You're welcome. To be clear, it's not HTML it's Formidable's shortcodes which are actually WordPress shortcodes that are used in Formidable.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right