Categories

Featured templates

JS Animated. How to set a custom number of min and max characters required in a field (based on RD mailform)

Iris Burke August 31, 2016
Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial will show you how to set a custom number of min and max characters required in a field (based on RD mailform).

In order to do this you should perform the following steps:

  1. Connect to your FTP or use the hosting FileManager tool and locate the file of the page your contact form is on. In our case the form is located on Contact Us Page.

    JS Animated.How_to set_a_custom_number_of_min_and_max_charachters_required_in_a_field_(based_on_RD_mailform)1
  2. Use Search to find the code of the contact form. Usually the needed code looks the following way:

    JS Animated.How_to set_a_custom_number_of_min_and_max_charachters_required_in_a_field_(based_on_RD_mailform)2
  3. After doing this you need to replace data-constraints value with the following code and change 10 and 9999999 to the needed values:

    @Length(min=10,max=999999)
    JS Animated.How_to set_a_custom_number_of_min_and_max_charachters_required_in_a_field_(based_on_RD_mailform)3
  4. Save the changes and check your contact form.

    JS Animated.How_to set_a_custom_number_of_min_and_max_charachters_required_in_a_field_(based_on_RD_mailform)4

Feel free to check the detailed video tutorial below:

JS Animated. How to set a custom number of min and max characters required in a field (based on RD mailform)

Also, don’t forget to review the collection of our brand new website templates.

This entry was posted in JS Animated tutorials and tagged JS Animated, number of characters, rd-mailform. 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