Form Builder
The FormBuilder Widget helps you create custom forms like Contact Us, Register, or Request Quote easilyβno coding required.
π What Can You Do with FormBuilder?β
- Create Contact, Feedback, or Registration forms
- Collect information like name, email, message, etc.
- Send form data directly to your email
- Show custom success/failure messages
- Add CAPTCHA to protect from spam
- Customize layout and button design
π οΈ Step-by-Step Guideβ
Step 1: Open Layout Builderβ
- Go to your Joomla Administrator Panel
- Navigate to:
System
βSite Template Styles
β Click on your Astroid template - Click the βTemplate Optionsβ button
- Open the Layout tab
- Launch the Layout Builder
Step 2: Add the Form Builder Widgetβ
- Click on the + Add Section or find the place where you want to add the form builder.
- Click + Add Element inside a section or column.
- Select Form Builder from the list of widgets.
π οΈ Widget Configuration Overviewβ
After you add the FormBuilder Widget to your layout, youβll see several configuration sections. Hereβs what each one does:
1. π¨ Email Settingsβ
Field | What it does |
---|---|
Recipient Email | Where form submissions are sent |
From Email | The "From" email in your inbox |
Email Subject | Subject line of the email, e.g. {{subject}} | My Website |
Email Body | Main message. You can use variables like {{first-name}} , {{message}} |
Email Headers | Add things like CC, Reply-To (optional) |
2. π¬ Submit Messagesβ
Field | Use |
---|---|
Success Message | What users see after submitting successfully (e.g. "Thanks! Your message has been sent.") |
Failure Message | Shown if something goes wrong (e.g. missing required field) |
3. π Policy Optionsβ
Option | Description |
---|---|
Enable Redirect | After form is submitted, send user to a thank-you page |
Redirect URL | The page URL to go to after submission |
Enable CAPTCHA | Adds spam protection with a CAPTCHA check |
4. π¨ Button Optionsβ
Customize how your submit button looks.
- Button Style: Choose from Bootstrap styles like Primary, Secondary, Danger, etc.
- Outline Style: Switch to outlined button look
- Button Size: Large, Small, or Default
- Corner Radius: Rounded, Square, or Pill
- Top Margin: Space above the button
5. π§± Form Layout & Responsive Settingsβ
These settings let you control how the form looks on different screen sizes:
Setting | Purpose |
---|---|
Show Labels | Show or hide field labels above inputs |
Responsive Layout | Select screen size base: lg , md , sm , etc. |
Gutter Settings | Space between columns and rows (per screen size) |
6. β Adding Form Fieldsβ
Use the Form Elements section to add your form inputs.
Supported Field Types:β
- Text
- Phone
- Textarea (multi-line text)
- Select, Radio, Checkbox (for options)
- Date, Range, Number
Each field lets you set:
- Label: The name shown to users
- Field Name: The technical name used in email template (e.g.
first-name
) - Placeholder: Hint text inside the input
- Required: Yes/No
- Column Size: Control how wide the field is on desktop, tablet, mobile
For Select, Radio, Checkbox:β
You can define multiple options, set default selected, etc.
π Display Control (Assignment)β
Choose where your form appears:
- All Pages
- No Pages
- Only on Selected Pages β you choose which menu items
π§ͺ Example: Contact Formβ
π€ Fields:
- Full Name (Text)
- Email (Email)
- Message (Textarea)
π© Send to:
support@example.com
π§Ύ Subject:Contact Request from {{first-name}}
β Show success message
π Enable CAPTCHA
π Show only on Contact Us page
β Quick Tipsβ
- Use variables like
{{email}}
,{{subject}}
inside your email settings. - If emails are not received, check your spam folder or email server settings.
- Always enable CAPTCHA for public forms to block spam.