Basic marking for creating a standard form looks the following way:
<form data-form-output="form-output-global" data-form-type="contact" method="post" action="bat/rd-mailform.php" class="rd-mailform"> <div class="form-group"> <label for="contact-name" class="form-label">Name</label> <input id="contact-name" type="text" name="name" data-constraints="@Required" class="form-input"> </div> <div class="form-group"> <label for="contact-phone" class="form-label">Phone</label> <input id="contact-phone" type="text" name="phone" data-constraints="@Required" class="form-input"> </div> <div class="form-group"> <label for="contact-email" class="form-label">E-Mail</label> <input id="contact-email" type="email" name="email" data-constraints="@Email @Required" class="form-input"> </div> <div class="form-group"> <label for="contact-message" class="form-label">Message</label> <textarea id="contact-message" name="message" data-constraints="@Required" class="form-input"></textarea> </div> <button type="submit" class="button button-primary">Send</button> </form>
We have included all you may need to build an Amazing eCommerce Website from a scratch. Create your successful business now!