WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] Adding a word count to message (2 posts)

  1. goddesskarla
    Member
    Posted 4 years ago #

    I want to add this to an email message so that I have a word count before it submitted.. Thank you in advance for any suggestions of how to incorporate it with contact 7 would be greatly appreciated.

    <textarea name="myMessage" onkeyup="wordcount(this.value)"></textarea>
    <script type=""text/javascript"">
    var cnt;
    function wordcount(count) {
    var words = count.split(/\s/);
    cnt = words.length;
    var ele = document.getElementById('w_count');
    ele.value = cnt;
    }
    document.write("<input type=text id=w_count size=4 readonly>");
    </script>
  2. goddesskarla
    Member
    Posted 4 years ago #

    So no ideas? I love this plugin and have used it many times on several sites.. I would really love to use it on the current site I am building.. I am willing to pay a reasonable rate someone's time. Thank you in advance for your assistance.

Topic Closed

This topic has been closed to new replies.

About this Topic