Simple Extended Contact Forms - Magento 2 module documentation

Author: Marek Milewski

Simple Extended Contact Forms Module

Module overview

Simple Extended Contact Forms allows you to create your own, highly customizable contact forms in Magento 2. You do not need to have any coding skills. Simply create and configure a field and decide whether you want to include it in your form or just save it for later.

Module compatibility

This module is compatibile with Magento Community versions: 2.2 and 2.3.

How it works

After installing the module, default Contact Us fields provided with Magento 2 will be erased. To add your custom form fields, head to Admin Panel go to Content > Form Fields. Click on Add New Field button to create your own field.

Image 14

Image 4

Enable – turns on or off visibility of the field
Label – set name for label
Type – pick input type:

  • Text - short text inputs
  • Textarea - longer text inputs
  • Select - create your custom options from which user will pick one

Image 3

  • Email list - create list of emails for user to pick

Image 3

  • Reply to - lets user add email to which replay will be send to
  • Subject - lets user write subject for email

Required – set if field is required to be filled
Validation Type - set validation type for your field input
Sort Order - fill with number to keep your fields in desired order
Store View – a store/store view that this fields should be visible in

Your newly created fields will be shown, where Contact Us form was before (in homepage/contact).

Image 6

Module is fully compatible with Magento 2 native functions, so you can with no problem add captcha to your custom Contact Us Form (Stores > Configuration > Customers > Customer Configuration > Captcha.

Image 5

Installation

Composer

  1. Add repo to composer.json:
"repositories": [
    ...
    {
        "type": "vcs",
        "url": "git@git.auroracreation.com:aurora-modules/aurora-contact.git"
    }
    ...
],
  1. Add package to composer.json:
"require": {
    ...
    "aurora/contact-form": "*"
    ...
},
  1. In Magento root folder run commands:
composer update aurora/contact-form
php bin/magento module:enable Aurora_Contact
php bin/magento setup:upgrade

Manual

  1. Unzip archive.
  2. Upload extension files on your server to:
{Magento root}
└── app/
    └── code
  1. In Magento root folder run commands:
php bin/magento module:enable Aurora_Contact
php bin/magento setup:upgrade

Thank you for your interest in our products!