If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

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

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