Validate Google Captcha via JavaScript

Suppose You have Form Similar to the code below <form id=”myformId” class=”col s12″ action=”” method=”post” novalidate> <input placeholder=”Name” id=”mpfaqs-form-fieldset-input” type=”text” name=”username”> <input placeholder=”Email” id=”mpfaqs-form-fieldset-input” type=”text” name=”useremail”> <input placeholder=”What is your …

Read More

Add Color Chooser in Module Configuration via system.xml

  Add the following code in your etc/adminhtml/system.xml <field id=”color_picker” translate=”label” type=”text” sortOrder=”1″ showInDefault=”1″> <label>Choose Color</label> <frontend_model>Vendor\Module\Block\ColorPicker</frontend_model> <comment>Choose FAQ mainpage heading color.</comment> </field> Now Insert the following code in your …

Read More