• Resolved Claus

    (@claushh)


    Hi Marcel,

    thank you very much for your great work, which mostly meets our needs.

    There is one option I could not find:
    Is there a way to limit the number of words for the input field (in the form, not for the display widget) – e.g. to 300 words?

    That would be very helpful.

    All the best

    • This topic was modified 3 years, 7 months ago by Claus.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hello Claus,

    Thank you.
    Such an option does not exist.
    I would want to look into that. Do you have experience with another plugin that has such an option? Or do you have some example code or a simple way to implement this? That way I could have a pointer towards how it can be done.

    Regards,
    Marcel

    Thread Starter Claus

    (@claushh)

    Hi Marcel,

    Contact Form 7 plugin has such a option which is defined in the form template via

    [textarea your-message minlength:10 maxlength:1000 placeholder “Message”]
    <font size=”2″>characters left: [count your-message down]</font> </label>

    see also: https://contactform7.com/editing-form-template/

    Greetz
    Claus.

    Plugin Author Marcel Pol

    (@mpol)

    Hi Claus,
    For the next version this is already in.
    You can see it in git at gitlab:
    https://gitlab.com/toomanybicycles/gwolle-gb

    Not sure when 4.2.0 will be released though, there are some more feature requests waiting. It should be safe to try this git version out already, if you dare ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Limit for message box in form’ is closed to new replies.