With FormBuilder 0.80, you can now personalize the autoresponse subject and message to include variables from the data the visitor sent in. This means that if someone writes in on one of your forms and says their name is “Fred” you can have the autoresponse send them back an email saying “Dear Fred, …..”

Using this functionality simply requires putting special variables into the subject and content of the autoresponses when you create them. These variables must match directly to the Field Names on the form to which this autoresponse is attached. The variables must be enclosed by ~ characters and would look something like this: ~variable~

For example, to create a form and autoresponse as I have described above in the first paragraph, you would need to first create a form, where one of the fields had a field name of “FirstName”.

Create Field Named FirstName

Create Field Named FirstName

Once the rest of the form has been created, save it and begin work on the autoresponse. In order to use the information submitted in the FirstName field in the autoresponse, you would use the variable ~FirstName~ as necessary either in the subject line and/or in the body of the text as is seen below:

Use ~FirstName~ as necessary

Use ~FirstName~ as necessary

IMPORTANT: Capitalization does matter. If you were to use ~firstname~ in the autoresponse and FirstName as the field name, it will NOT work.

We hope you’ve found this information helpful.  We would love to hear any comments or questions you might have.

Related Reading:

PHP Cookbook: Solutions & Examples for PHP ProgrammersPHP Cookbook: Solutions & Examples for PHP Programmers

Want to understand a certain PHP programming technique? Or learn how to accomplish a particular task? This cookbook is the first place to look. Wit... Read More >

PHP for the Web: Visual QuickStart Guide (5th Edition)PHP for the Web: Visual QuickStart Guide (5th Edition)Learn PHP programming the quick and easy way!
With PHP for the Web: Visual QuickStart Guide readers can start from the beginning to get a tour... Read More >
Head First PHP & MySQL: A Brain-Friendly GuideHead First PHP & MySQL: A Brain-Friendly Guide

If you're ready to create web pages more complex than those you can build with HTML and CSS, Head First PHP & MySQL is the ultimate learning guide ... Read More >