These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Set a minimum number of characters to be filled in?

mdudek
Registered: Jan 22 2008
Posts: 8

Is there a way to set the properties to require a minimum number of characters to be entered into a multi-line text box? (I'm hoping to set it to be a minimum of 200 characters.)

Thanks!

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Do you ever want the field to be blank, as when first opening the form?

George
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You would have to use a custom vaildattion script.

George Kaiser

mdudek
Registered: Jan 22 2008
Posts: 8
George - Yes, I would prefer the field to appear blank, but if that's not possible I could work around that.
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
I asked about the field being blank because that would imply you want the minimum number of character to be zero, at least to begin with. So the next question is when, exactly, do you want to enforce a minimum of 200 characters, and how do you want it enforced? For example, after the user enters some text (or the data gets set programmatically, or by importing form data) and the number of characters is below your limit, what, exactly, do you want to happen? Options include rejecting the input, alerting the user to enter more text and setting the focus back to the field, etc. In other words, you need to clarify how you want it to work, and the more details the better.

George
mdudek
Registered: Jan 22 2008
Posts: 8
When the user enters text that is below the # limit, I would like the user to be alerted to enter more text. This is a field on a questionnaire that I would like to prevent the user from simply writing "Good" or "It was bad." I would like them to include more details in their responses.