Hi @oscarm2
I hope you’re well today!
Forminator currently provides only the “max” limit (in characters or words) but it would be doable to set a “minimum” limit in words with a bit of custom code.
You can find such code here
https://gist.github.com/adczk/a00fb9581668110fdb82644c0176f180
and you can add it to your site as MU plugin:
– create a file with a .php extension (e.g. “forminator-minium-text-words.php”)
– copy and paste code into it
– configure it by setting relevant values in this code block (as explained in comments in code)
$form_ids = array( 2245 ); // IDs of forms to check; if more than one, separate by comma
$text_field = 'textarea-1'; // textarea field ID
$text_words = 10; // minimum number of words to allow
$error_msg = 'Text too short!'; // error message
– save the file and upload it to the “/wp-content/mu-plugins” folder of your WordPress installation
Best regards,
Adam