How to Create a Contact Form in Joomla

| Joomla
How to Create a Contact Form in Joomla

This tutorial will show you how to create a contact form in Joomla.

We'll use the default Contacts components so you won't need to install any extra extensions.

We're going to start off with a video guide, and there's also a text and image tutorial below.

Video Guide to Creating a Joomla Contact Form

This video is taken from the Joomla Beginner class. If you're new to Joomla, this is a great place to start.

Step #1: Create the Contact Form

  • Go to Components > Contacts > Contacts.
Navigating to the Joomla contact form
  • Click the green "New" button.
  • Enter your name in the Name field.
  • Enter your email address. 
  • Enter any other details you want on the contact form.
  • Click the "Save & Close" button when you've finished.
Adding details to a Joomla contact form
  • I would also recommend clicking the "Display" tab and changing the "Display Format" to "Plain". This will give the best layout for your form.
joomla display plain

Step #2: Create the Menu Link

Now we're going to make sure that people can see the contact form.

  • Go to Menus > Main Menu > Add New Menu Item.
add new menu item
  • Set a "Menu Title" for your contact form. This is what people will see in your site's navigation:
Adding a title to a Joomla contact form
  • Click "Contacts" and choose "Single Contact":
Adding a title to a Joomla contact form
  • Now we're going to choose the contact form we created in Step 1. Click "Select" next to "Select Contact".
Select a Joomla contact form
  • Choose the contact form you created earlier:
Choose a Joomla contact form
  • Click the "Save & Close" button.
  • Visit the front of your site and you'll see the "Contact Us" link.
Active Joomla menu link
  • Click the "Contact Us" link and you'll see your completed form:
completed Joomla contact form

More useful Joomla contact form tutorials

About the author

Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.