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."); }
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.");
}
Mr. Jiggs