Create a Data Form
The first step is to create a page with a Data Form on it.- Create a page called Tell A Friend.
- Add a Data Form to the page.
- Title it Tell A Friend.
- In the description feel free to put some basic instructions for your users.
- Change the acknowledgement field to represent a message for your user, such as Thanks for telling your friend about us.
- Select Yes on the Mail data? Property.
- Click Save.
- Now you should be at the add a field form.
- Set Label to Message.
- Set Field Name to message.
- Set Status to Required.
- Set Type to Text Area.
- Set Default Value to Hi I just wanted to tell you about this page. ^Env("HTTP_REFERER");
- Set What next? to Go back to the page.
- Click save.
NOTE: You'll need your administrator to enable the ^Env(); macro if it is not already enabled.
Now that you have the basic form in place, you need to finish editing it.
First, edit the From field. Set the status to Required. In the default values place this macro: ^User("email"); Just as with the ^Env(); macro, you'll need to get your administrator to enable the ^User(); macro if you want to use this feature. What it will do is automatically fill in the from from field with your users email address if they have entered it in their profile.
Next, edit the To field. Set the status to Required and blank out the default value.
And finally edit the Subject field.Set the status to Required and change the default value to something attention grabbing like Check this out!







