• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Limit number of characters in contact form

imghut

💖 Chevereto Fan
I you want limit the number of characters/words someone can enter in the contact form
Go to Dashboard > Settings > Pages > Contact form, scroll down to Source code
Search for the line thats starts with <textarea and add maxLength="140" as below, 140 b
eing the number of characters to limit the form to.

Code:
<textarea name="message" id="message" maxLength="140" class="text-input r3" required><?php if($is_error) { echo get_safe_post()['message']; } ?></textarea>
 
Back
Top