Minimum character length in paragraph field

By: Adrián Castro | Asked: 07/14/2023
ForumsCategory: How-toMinimum character length in paragraph field
Adrián Castro asked 1 year ago
I need my paragraph field to be able to have a minimum character length. At this moment, there is only the possibility to configure the maximum length. How can I solve it?
1 Answers
Michael ClarkMichael Clark answered 1 year ago

HTML text and paragraph fields have an optional minlength property.Maybe you customize the HTML of the form, find the [input] for the field and add minlength=250 (or whatever length you want).I have not tried adding properties to the html of fields like this, so I don't know if it's even possible, but it'd be easy enough to test.Hope this helps.

Victor Font replied 1 year ago

You can add the property to the input field on the form's Customize HTML page or with jQuery/JavaScript when the page loads.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right