- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
How to change fields’ validation notices in RD Mailform
August 31, 2018
Hello, our support team is ready to present you a new tutorial that shows how to change fields validation notices in RD Mailform.
The changes should be made in the form html code. You should perform changes to the code of each field in the form in the contacts.html file (or other file , depending on form location on your site).
For example, to change the validation notice for field Name find and edit the following line:
<input id="contact-form-first-name" type="text" name="name" data-constraints="@Required" class="form-control">
Edited code should look like this:
<input id="contact-form-first-name" type="text" name="name" data-constraints='@Required(message="Some text text")' class="form-control">
Basically, we have changed data-constraints=”@Required” to data-constraints=’@Required(message=”Some text text”)’
Save changes to file when you are done and test the form.