To organize feedback, the template has the ability to send messages from the contact form, presented on the page 021_contacts.html. Let's review the organization of its functionality.
Form layout:
<form class="form-validate contact-form crumina-submit" method="post" data-nonce="crumina-submit-form-nonce" data-type="standard" action="modules/forms/submit.php">...</form>where
Form fields layout:
<input name="name" class="form-control input--squared" type="text" value="Peter Spenser" required><input name="email" class="form-control input--squared" type="email" value="" required><textarea name="message" class="form-control input--squared height-140" placeholder="" required></textarea>For the form to work correctly, each of the fields must necessarily contain the corresponding name, namely:
Note, that for the correct operation of the form, as well as for generating messages, the user must call js scripts on page:
<!-- jQuery-scripts for Modules (Send Message) --><script src="modules/forms/src/js/jquery.validate.min.js"></script><script src="modules/forms/src/js/sweetalert2.all.js"></script><script src="modules/forms/src/js/scripts.js"></script>