Problem:
Is it possible to set a minimum number of words to a textarea in Cred Post form?
[php]Solution:
It is possible with Forms API hook: cred_form_validate, for example:
https://toolset.com/forums/topic/post-submission-form-add-minimum-number-of-words-to-textarea/#post-1142918
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate
http://php.net/manual/en/function.mb-strlen.php
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 6 replies, has 3 voices.
Last updated by 5 years, 12 months ago.
Assisted by: Luo Yang.