Form builder
The form editor opens when you create a form or click its title in the Forms list. At the top you set the Form Title (shown to visitors) and the Form Name (internal, required).
The tabs of the form editor
| Tab | What you set there | Guide |
|---|---|---|
| Details | Description, form tag attributes, published state, access level, language. | Details tab |
| Form Builder | The fields and the grid. | This page |
| Custom Design | Framework, label position, HTML layout, CSS. | Layout and design |
| Emails | User, admin, additional and deletion emails. | Emails |
| Submission | Validation, after-submission actions, thank-you message, post to location, mappings. | After submission |
| Scripts | PHP and JavaScript code. | Scripts |
| Conditions | Show or hide fields. | Conditions |
| Calculations | Formulas. | Calculations |
| Integrations | One sub-tab per enabled plugin, such as payments or Mailchimp. | Plugins |
| Publishing | Created date and author, meta description, keywords and robots. | Details tab |
The toolbar has Apply, Save & Close, Preview (opens the form on the site), Submissions, Directory and Close.
Add a field
- Open the Form Builder tab.
- Click a field type in the list on the left. The Form Field window opens.
- Enter a Name. It may contain letters, numbers, spaces, hyphens and underscores, and must be unique in the form. The name is used in placeholders, so
Emailbecomes{Email:value}. - Fill in the other sub-tabs: General (caption, default value, items), Validations (required, rule, message), Attributes (extra HTML attributes) and HTML.
- Click Save. The field appears in the grid.
The list on the left shows the standard fields first, then a Payment group and a Security group with captcha fields. Payment and captcha fields come from plugins, see Payments and Spam protection. The types are described in Field types.
A form needs a Submit Button. An info icon warns you when the form has none.
The grid
- Add New Row adds a row. Its Options set it to one, two, three or four columns.
- Drag a field to move it to another row or column, or drag a row to move it up or down.
- Delete Row removes an empty row. A row that still has fields cannot be removed.
- Hidden fields are kept in their own Hidden Fields area.
Each field in the grid has buttons to edit, delete, publish or unpublish it, switch Required on or off, Duplicate it, or Copy to another form.
Two options in Configuration > Grid Layout change the grid: Show Field Previews and Show Field Caption (show the caption instead of the name).
Details tab
Description is a text shown above the form, written in the editor.
Attributes sets the HTML of the form tag:
| Setting | Meaning |
|---|---|
| Action | Where the form is sent. Leave it empty to use the current page. |
| Name, ID, Class | The form tag's name, ID (default userForm) and CSS class. |
| Additional HTML Attributes | Any other attribute, for example autocomplete="off". |
On the right:
| Setting | Meaning |
|---|---|
| Published | Shows or hides the form on the site. |
| Access | Who may see the form: Everybody or a Joomla access level. A menu item that points to the form shows it in any case, so set the same access level on the menu item. |
| Languages | Switches the editor to another language to translate the form. See Translations. |
| Show Form Title | Adds the form title as a heading to the generated layout. |
| Form Title as Page Title | Uses the form title as the browser page title. |
Publishing tab
Created Date, Created By and Created by Alias, the modified date, Meta Description and Meta Keywords for the form page, External Reference, and the metadata Robots, Author and Content Rights.