custom_form

View Magento 2 Custom Form Extension Detail Page for Features and Demo

Documentation for Custom Form

Preference

Mageants Custom Form is create customize custom form in few steps. You can use this form to collect customer data and use it in future.

  • Drag and Drop control
  • Create form using multiple elements
  • Manage admin and customer notification

Installation

There are two ways of installing extension in magento2.

  1. Using COMMAND LINE.
  2. Manually Install extension.

Option 1: Magento 2 install extension using COMMAND LINE (Recommended)

Follow below steps to install extension from the command line.

Step 1: Download the extension and unzip it.

Step 2: Upload it to code directory in your magento installation’s app directory. If code directory does not exists then create.

Step 3: Disable the cache under System → Cache Management.

Step 4: Enter the following at the command line:

              php bin/magento setup:upgrade
              php bin/magento setup:static-content:deploy
              php bin/magento setup:static-content:deploy -f

Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → Custom Forms, The module will be displayed in the admin panel.

Option 2: Magento 2 install extension manually

Step 1: Download the extension and unzip it.

Step 2: Upload it to code directory in your magento installation’s app directory. If code directory does not exists then create.

Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_Customform’ → 1

Step 4: Disable the cache under System → Cache Management

Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → Custom Forms, the module will be displayed in the admin panel.

Backend Example

After Installation of Extension log in to Magento admin panel for set configuration of the extension.

Backend Configuration

Admin Notification

Enable Notification to Email : Set Yes to enable admin email notification.
Send Emails to : Set email to send notification email to admin.
Email Sender : Set email sender.
Email Template : Set email template.

Reply Form Configuration

Email Sender : Set email sender.
Email Template : Set email template.
Send Blind Copy to : Set email to send blind copy email.

Autoresponder

Enable Auto Response : Set Yes to enable auto response.
Email Sender : Set email sender.
Email Template : Set email template.

Enabled : Set Yes to enable GDPR Consent.

Сonsent Text : Set Consent Text.

Advanced

Google Api Key : Set Google API key for Google Map.

Backend Functionality

  • Form Grid that contains created form.

Add new form

Title : Set Form Title.
Code : Set form code.
Success Url : Set success url after submit form.
Store View : Set Store View of form.

Customer Groups : Set Customer group.
Status: Enabled/Disabled Form.
Send notification to email : Set Yes to send email notification.
Recipients email : Set recipients email.
Email Template : Set email template.

Success Message : Set Success Message.
Submit Button Text : Set Submit Button Text.
Show Form on Button Click : Enable/Disable to show form in popup.
Form Button Text : Popup Button Text.
Hide Email : Hide Email when user is logged in.
Email Field Code : Set Email Field Code.

  • When we fill the email value in the input field title, we must need to fill same value in the code input field as per the above screenshot.
  • Here you can create form. You can drag and drop or click on control.
  • You can create single/multi-page form.
  • You can also set page title if you have created multi page form.
  • You can set validation for control.

CMS Page : Copy CMS Embedding code and paste into cms page form will be display.
Templates : Copy Templates Embedding code and paste into phtml file form will be display.
Layout : Copy Layout Embedding code and paste into xml layout form will be display.

Frontend Example

Single Page Form

Multi Page Form

custom_form.txt · Last modified: 2025/05/26 07:24