Results 1 to 1 of 1

Thread: Minimum number of characters for overview content

  1. #1
    Expired Customer gonesmith's Avatar
    Join Date
    Jun 2012
    Posts
    764
    Thanks
    50
    Thanked 202 Times in 137 Posts

    Minimum number of characters for overview content

    1. Copy form-listing.php into you child theme.

    2. Find the text area input on line 115 (as of version 1.3.2)
    Code:
    <textarea name="post_content"><?php echo esc_textarea( $listing->post_content ); ?></textarea>
    3. Add two attributes to it; minlength="(number of characters)" and class="required", e.g.
    Code:
    <textarea name="post_content" minlength="300" class="required"><?php echo esc_textarea( $listing->post_content ); ?></textarea>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. force minimum characters in the description
    By alunsina in forum ClassiPress General Discussion
    Replies: 10
    Last Post: August 20th, 2016, 10:24 AM
  2. Change minimum 7 characters in registration/login password
    By akemx in forum Vantage General Discussion (Legacy)
    Replies: 2
    Last Post: February 15th, 2013, 01:30 AM
  3. [MOD NEEDED] Minimum number of images
    By netpl in forum ClassiPress General Discussion
    Replies: 2
    Last Post: March 4th, 2012, 09:59 PM
  4. Minimum number of postings...
    By kingster in forum ClassiPress General Discussion
    Replies: 1
    Last Post: May 12th, 2010, 01:45 PM
  5. Minimum number of postings...
    By kingster in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 07:00 PM