Adding Word Count
-
4.0.25
Hello Mike.
I really like the plugin! Great job.
I’m wondering how to code in a word count for the forms field.I have this and I want to put it into the form I use:
<form name=”myform”>
<textarea rows=”15″ name=”w” cols=”45″ object.onkeyup=”cnt(this,document.myform.c)”></textarea>Word Count: <input type=”text” name=”c” value=”0″ size=”5″
object.onkeyup=”cnt(document.myform.w,this)” />
</form>Text area rows and cols are not imperative, what matters is the counting of the words. We use this form for our little newspaper and we’re looking for a way our customers can submit an ad online but we need to count the words in order to charge the appropriate price.
Your help would be greatly appreciated.
The topic ‘Adding Word Count’ is closed to new replies.