Categories

Featured templates

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

Rating: 5.0/5. From 2 votes.
Please wait...

Hello! This tutorial is going to show you how to change the number of required characters in “TM Ajax Contact Formmodule 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
Joomla Site templates
This entry was posted in Joomla! Tutorials and tagged characters, joomla, number of characters, tm ajax contact form. 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