{form}
You are able to use this markup to display a form on the page which anyone can fill in. This can be very useful as a 'contact us' form for example. When the user enters the required data, an email is sent to the address you nominate with the information entered. This is the only rich text markup which requires a closing bit of markup to designate where the form ends. Don’t forget to insert {form} at the end!
Usage
{form name:"email us" email:"[email protected]" url:"/thankyou"}
{text label:"Email address" required:true}
{text label:"First Name" required:true}
{text label:"Last name" required:true}
{text label:"Phone number" required:false}
{text label:"Reason for complaint" required:true lines:8}
{form}
name
The name of the form. It is not visible to the user on the webpage.
email
This is where the email will be sent. It is not visible to the user on the webpage.
[url]
After the user submits the form, they will be redirected to this URL. If not supplied, they will be returned to the current page.
required fields
If you wish to set a given field as a required field, you can reflect this within the form as either 'true' or 'yes' if it is required.
Updated 5 months ago