From this article you will learn how to create a contact form in Joomla! without using third-party extensions using the Contacts component, as well as other free methods.

Contacts Joomla! component

This is a way to create a feedback form that will be displayed in the Joomla component area.

Pros

  • The component is built into Joomla and doesn't require third-party extensions.
  • Can also serve as a 'Contacts' page to display extra details such as address or phone number.

Cons

  • The form is displayed only in the content area (it won't work in the module).
  • There are no user settings for the feedback form.
  • Customizing the appearance requires basic coding knowledge.
  • Doesn't support AJAX, so the form reloads the page upon submission.

Setup Guide

  1. Create a menu item: Menus[Required menu]Create menu item.
  2. Enter the name (for example, "Contacts").
  3. Option Menu item type: SelectContactsSingle Contact.
  4. Option Select Contact: Create.
  5. Enter the name (for example, "Contact").
  6. Option Linked User: Select user (icon) → Select the user to whose email the messages should be sent.
    If this is not do, then the contact form will not be displayed on the web page.
  7. Miscellaneous Information tab: here you can enter text that will also be displayed on the web page.
  8. Save & Close.
    The contact has been created, now you need to fine-tune the menu item.
  9. Contact Display Options tab: determine what information should be displayed on the page.
    If you want only the contact form to be displayed, select Hide for all items.
  10. Mail Options tab: the Contact form option must be set to Show.
    Other options at your discretion.
  11. Page Display tab: here you can determine whether to display the menu item title on the page, or override it in the Page title in browser option.
  12. Save & close.
  13. Now you can go to the page with the contact form through the corresponding menu.

Page Customization

If the page displays unnecessary headings, first check the menu item options in the Display tab.

If some elements cannot be hidden via settings, there are two solutions:

  1. create an override for the Joomla template of the Contacts component and edit the template code,
  2. hide unnecessary elements via CSS.

Let's consider the second option as simpler. For example, if you want the text "Send an Email" not to be displayed, you can add the following code to the template CSS file (or as custom code, if the template allows it):

.contact-form legend{display:none} 

Convert Forms

The Convert Forms component is a functional form builder for Joomla, the free version of which is enough to create a full-fledged feedback form.

Pros

Cons

Setup Guide

  1. Install the Convert Forms component.
    To install via JED: System InstallExtensions Install from WebSearch for "convert forms".
  2. To create a new form, go to ComponentsConvert FormsDashboardNew form.
  3. Select Blank form.
    You can choose a pre-installed template, but all templates include a subscription form. To make it a contact form, you will need to replace the fields.
  4. The new form will contain 3 fields: 
    1. Email address.
    2. Full name.
    3. Submit button.
  5. A text area for entering a message is missing for a full-fledged contact form, so in the Add Field tab, click Textarea.
    The new field will appear as the last field in the form.
  6. To change the order of the fields, go to All Fields and swap the fields using drag-and-drop.
  7. To change the text and other parameters of a specific field, click on this field in the form.
    The Parameters of the selected field will be displayed on the left side.
  8. You can specify the recipient's email in BehaviorEmail Notifications.
  9. You can customize the appearance of the form in Design.
  10. After you have completed creating the form, click Save, then click the close editor icon.
  11. Now you can display the form in the following ways:
    1. Create a menu item for the Convert Forms component.
    2. Create a Convert Forms module.
    3. Insert a shortcode into a Joomla article.

SP Page Builder Pro

The paid version of the popular page builder for Joomla includes the Contact form add-on that suits our task.

Pros

Cons

Setup Guide

SP Page Builder addons can be used in the following Joomla elements:

To use the "Contact Form" addon:

  1. create the desired element (page or module), if it has not been created yet;
  2. go to its editing page;
  3. add a row, if it has not been added yet;
  4. add the addon to the desired column;
  5. configure the addon:
    1. Appearance.
    2. Displaying captcha.
    3. Displaying the consent checkbox.

Rapid Contact

Rapid Contact — a narrowly focused module for creating contact forms. The free version allows you to implement a feedback form with the necessary fields:

In the paid version, you can add additional fields. The extension is very lightweight, but allows you to customize:

You can install Rapid Contact from the admin panel via JED. If you encounter the error “Unable to find the manifest file”, then find the module in the extensions directory, download and install it manually. You can insert a contact form into the component area using the button in the text editor (built-in Joomla functionality).

Pros

Cons