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

Joomla 3.x. How to change the number of required characters in “TM Ajax Contact Form” module textarea

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 .

  1. Log into your Joomla admin panel and navigate to Extensions > Templates > Templates tab on the left. Select ThemeXXXX.

    Joomla_3.x._How_to_change_the_number_of_required_characters_in_TM_Ajax_Contact_Form_module_textarea_1

  2. Click on the html, folder on the left, then click mod_tm_ajax_contact_form and open the default.php file for editing.

  3. In the default.php file locate this code:

    $js .= '$("#'.JFilterOutput::stringURLSafe($fields->name[$key])."_".$key.'").rules("add", {minlength: 50});';		
    		

    Joomla_3.x._How_to_change_the_number_of_required_characters_in_TM_Ajax_Contact_Form_module_textarea_2

  4. 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