I have searched and searched for a way to limit the number of words in the Title when a link is submitted. I have found some code I thought I could butcher up but no luck yet.
What I would like to do is limit the # of words in the Title on a submit to say 4 for example. If more than 4 words the submitter would then be taken to the error page for a chance to make corrections.
Obviously I want to do this when add.cgi is called. I think.
If I can find a way to do it on the Title, I am pretty sure I can modify the code to do the same on Description.
I'm no Perl coder, but I have found I can butcher up some of the code I have found in this very helpful forum and get it to work if I have a starting place.
Thanks!
What I would like to do is limit the # of words in the Title on a submit to say 4 for example. If more than 4 words the submitter would then be taken to the error page for a chance to make corrections.
Obviously I want to do this when add.cgi is called. I think.
If I can find a way to do it on the Title, I am pretty sure I can modify the code to do the same on Description.
I'm no Perl coder, but I have found I can butcher up some of the code I have found in this very helpful forum and get it to work if I have a starting place.
Thanks!