Login using the username and password you created for AcrobatUsers.com.
Note: This is not the same as your Adobe ID.
Benefits of Free Membership:
Find out what AcrobatUsers.com is all about
You don't have to be a member to look at any content on the site. Increase your expertise with our helpful tutorials, videos, forums, and sample PDFs.
Like what you see? Take the next step and become a member. Register now to get discounts, attend eSeminars, ask questions and more.
Get the most out of your membership. Post in the forums, create your profile, submit to the gallery, attend a user group meeting. Log In now.
I'd like to be able to limit a text field by word count, versus the built in character count. How can I do this ?
Mr. Jiggs
My Product Information:
Acrobat Pro 8
Offline
I figured it out. First I had to remember to not try to edit a form I had already applited the "reader rights" to (d'oh!). Then I added the folowing script to the Validation of a TextField named "BioText" to warn if more than 300 words had been entered:
var f=this.getField("BioText").value;
var aWords = f.split(" ");
var nNumWords = aWords.length;
if (nNumWords > 300) {
app.alert("You have entered too many words.\nI count around " + nNumWords + "words.\nPlease reduce the amount of your text.");
}
Offline