Dynamically adjust email and thank you message content without PHP knowledge


Tutorials - Tutorials

User Rating: / 0
Dynamically adjust email and thank you message content without PHP knowledge

A common need of RSForm!Pro users is to remove uncompleted fields from the User/Admin/Additional emails/Thank You message's text. Until now, achieving this was possible (see this article), but a little too complicated for non-PHP savvy users.

Starting with RSForm!Pro rev. 46 we have simplified this process by adding a custom syntax in the text of the User Email, Admin Email, Additional Emails and the Thank you message. This syntax is based on a simple if condition and looks like this:

{if {name_of_field:value}} Display this text if the form_component field has a set value.{/if}

You will have to replace name_of_field with your actual field's name.

Note that the syntax is similar to HTML as it has an opening and an ending tag.

The placeholder returning the field's value needs to be added as an attribute of the {if} tag to be verified if it returns a value or not. If a value is returned, then the inner text will be displayed, otherwise that space will be left blank.


You can also add placeholders in between the opening and closing tags, as in the following example:

{if {name_of_field:value}} {name_of_field:caption}:{name_of_field:value} {/if}

About Us

Royal Developer Top three Web Designing and Web Development Company in Dehradun, Uttarakhand, India. Royal Developer Best SEO Company in Dehradun takes pride in its philosophy of 'Employee First' which empowers to create a real value for the customers. Royal Developer can offer Best and cheap Website Development Software Development & SEO Services. We are the Best service Provider of SEO, SEM, SMO Services Company in Uttarakhand. Web Designing Course in Dehradun, Web Designing Classes in Dehradun, Web Design Training Institute in Dehradun, Web designing institute in dehradun, Best institute for web designing in dehradun, Web development training in dehradun, Web development course in dehradun, Web Designing Training in Dehradun.


- Contact Information - 

Add : RDIT Services Pvt Ltd, 3rd Floor, RGM Plaza, Above Chandu Canteen,
          23 Chakrata Road, Dehradun - 248001, Uttarakhand, India

Email : nikhil@royaldeveloper.inroyaldeveloper.india@gmail.com 


 : +91 8171200108, +91 8979462451,
                                  +91 7895753921

Quick Enquiry Form

Enter your full name

Enter your valid email address

Enter your correct mobile number

Invalid Input

Your Message
Invalid Input

Enter Code
Enter Code
  RefreshInvalid Input


You are here: Home Tutorials Dynamically adjust email and thank you message content without PHP knowledge