Changing the form appearance
In this chapter we'll describe how to change the form appearance. First of all you have to understand how RSform parses the code. Edit your form and go to Form Style. You can see there the Edit the form style textarea. That acts as a container, and the {formfields} placeholder will be replaced with the fields' html code.
This example will change the form style appearance.
- Change the code inside the Edit the form style textarea to:
{formtitle}
{formfields} - Now that we have created the container, lets focus on the fields. The fields placeholders are:
- {fieldtitle} - the field title
- {validationsign} - the * validation sign for mandatory fields
- {field} - the field itself
- {fielddesc} - the field description (if any)
{fieldtitle} {validationsign}
{field} - The result for a form with 3 fields will be:
{formtitle}
{fieldtitle} {validationsign}
{field}
{fieldtitle} {validationsign}
{field}
{fieldtitle} {validationsign}
{field}