PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Character Limit not working on wordpress site

  1. Character limit works as intended in preview mode of the actual form, but when I embed in into a page, the functionality stops working (don't see the characters being used as one types, no error, nothing).

    I've looked at other forum posts and it seems something to do with a conflicting script, but I'm not really sure what to do from there.

    http://www.famlit.org/conference/call-for-proposals-2012/

    this is the page and if it asks for a password: famlit1

    Any help on how to fix this would be appreciated.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  2. A good first step to troubleshooting would be to check for theme/plugin conflicts by following the instructions here:

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  3. Okay, definitely a theme issue. How can I configure it in a way to allow the character limit?

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  4. You'd have to find the offending JavaScript that is conflicting. Do you have access to the theme creator? My guess would be because you are using an old version of jQuery in your theme. Take a look at this screenshot

    The current version is 1.7.2 that is included with WordPress. Themes often include and hard-code local jQuery versions at the theme level, which means it's easy to overlook updating that.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  5. David Peralty

    Try turning off Contact Forms 7 and see if that helps.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  6. I have access to the theme creator. How would I go about updating jquery to 1.7.2? I also got rid of CF7, but to no avail.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  7. Well, each theme is coded and setup differently so it's hard to say really. That's why we usually defer to the theme creator. Do you have any experience with coding at all? Is this a task you are comfortable with?

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  8. If it's cutting/pasting code where it needs to go, then yes I am comfortable. Hard coding from scratch? That's a different story.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  9. Well, a really easy work around would be to navigate here:
    http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js

    Then open up that file I referenced in the screenshot on your server and paste the contents of the above link into the file in question and save.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  10. Hm, this was my first gut instinct (went to jquery website and found 1.7.2.min.js), I updated the source file as your can see by modifying the script. Is there another script file that needs updating?

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  11. The only thing I can suggest at this point is for you to try commenting out script lines one by one to see if you can find the one that might be conflicting. Since you said it was coming from the theme, you would only need to target JS files that the theme is referencing.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  12. Seems it's that file that I updated causing the issue.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink
  13. So 1.7.2, 1.8.0 didn't work, but when I updated the file to 1.6.4, that seemed to do the trick.

    Posted 12 years ago on Wednesday August 29, 2012 | Permalink

This topic has been resolved and has been closed to new replies.