- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Joomla 3.x. How to change the number of required characters in “TM Ajax Contact Form” module textarea
September 27, 2016
Hello! This tutorial is going to show you how to change the number of required characters in “TM Ajax Contact Form” module textarea in Joomla 3.x .
-
Log into your Joomla admin panel and navigate to Extensions > Templates > Templates tab on the left. Select ThemeXXXX.
-
Click on the html, folder on the left, then click mod_tm_ajax_contact_form and open the default.php file for editing.
-
In the default.php file locate this code:
$js .= '$("#'.JFilterOutput::stringURLSafe($fields->name[$key])."_".$key.'").rules("add", {minlength: 50});';
-
Change “minlength: 50” value to any number you need, save changes and close the file.
Don’t forget to check out our wide collection of well-designed Joomla templates!
Feel free to check the detailed video tutorial below:
Joomla 3.x. How to change the number of required characters in “TM Ajax Contact Form” module textarea