If you face difficulties with "RD Mailform" modifications and are ready to give up, this tutorial is a wonderful guide that will demonstrate you the process in details. Step by step instructions will show you how to edit the "RD Mailform" alerts up to your needs.
To change alerts you get in your contact form, please, follow steps below:
Connect to your sever using FTP or hosting cPanel.
Open your site root directory. Locate file with your contact form HTML code. In our case it is contacts.html file. File name could differ depending on the template you use.
Locate the script for the field you wish to modify. It will look like the following:
<input id="contact-email" type="email" name="email" data-constraints="@Required @Email" class="form-control form-control-gray">
Change it to this one:
<input id="contact-email" type="email" name="email" data-constraints='@Required @Email (message="Custom text")' class="form-control form-control-gray">
You might notice that data-constraints attribute has been changed. Replace Custom text with your new alert text.
Save the file and check your site then:
Feel free to check the detailed video tutorial below:
Also, take a look at our selection of other premium website templates.