Categories

Featured templates

JS Animated. How to make field required/not-required in a RD mail-form

Celine Jade November 18, 2015
Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial will walk you through making a field not-required in RD mail-form in Responsive Website Templates.

JS Animated. How to make field required/not-required in a RD mail-form
  1. Usually, all the fields need to be filled by default. Let us make Email field non-required in the following form:

    how to make any field not-required in a RD mail-form.1

  2. Open the HTML file, index.html, with RD mail-form, and open it in any php/text editor to edit the form and its placeholders. Locate the following scripts related to your Email field:

    <input data-constraints="@Email @NotEmpty" />

    how to make any field not-required in a RD mail-form.2

  3. You should remove @NotEmpty in the data-constraints attribute. Make it look like:

    <input data-constraints="@Email" />

    how to make any field not-required in a RD mail-form.3

  4. Save the changes, and refresh your browser window. The Email field is not required any more.

Now you know how to change placeholders in RD mail-form non-required ones.

Feel free to check the detailed video tutorial below:

JS Animated. How to make field required/not-required in a RD mail-form
This entry was posted in JS Animated tutorials and tagged field, form, mail, RD, required. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket