If statements
Displaying data/content conditionally inside your HTML element and or email body with the build in "if statements" for your WordPress forms
Last updated
if({first_name}=='John'):
Your custom HTML here...
endif;if({first_name}=='John'):
This text is only for John :)
elseif:
This text is for everyone who isn't named John
endif;if({package_1}=='daily_backups'):
Your backups are being stored daily on 3 other independent servers.
By default your server has a fallback server that will be activated whenever the server is down for more than 2 min.
If you need more technical information about how we process backups read our <a href="domain.com/faq">FAQ</a>
endif;if({age}<18):
Because you are underaged we need a parental consent.
Your parent(s) or guardian(s) need to sign the attached PDF file and return it by replying directly to this email address.
They can also send it to the following post address: ...
endif;if(!isset(company_name)):
The field named `company_name` does not exists, this registration is not a business registration.
endif;
if(isset(tax_id)):
The Tax field was conditionally shown, this is a business registration.
elseif:
This is a regular customer registration.
endif;