Gravity Forms Ajax Submits Fails in IE — Here’s the Fix

Ran into a problem with Gravity Forms, IE8 and ajax form submission where it was kicking out an “error, object expected” every time. After many hours of digging through the code I figured out the issue. Short version is that the way it was written, when you first load a page with a form it [...]

[ More ]
December 7th, 2010 | 1 Comment | Posted in Gravity Forms » Hacks & Mods » Wordpress

Limiting Word Count in a Text Area with Gravity Forms

Add an HTML field to your form. Insert the following code: <script src=”http://www.yoursite.com/wp-content/themes/your-theme/scripts/jquery.counter.js” type=”text/javascript”></script> <script type=”text/javascript”>// <![CDATA[ jQuery(document).ready(function($q){ $q("#input_15_12").counter({type:'word', goal:'100'}); }); // ]]></script> Use view source when you’re looking at the form in a page to see what the id of the text area field you want to validate is and use that in the [...]

[ More ]
September 7th, 2010 | 1 Comment | Posted in Gravity Forms » Hacks & Mods » Wordpress

Gravity Forms Submit via AJAX

I’ve been using the very useful Gravity Forms (www.gravityforms.com) plug-in for a number of different projects. It does a lot of great stuff, but one thing it doesn’t do (at least not yet) is allow for ajax form submission. For some projects, that’s a bit of a drawback. After poking around looking for a solution, [...]

[ More ]
July 27th, 2010 | 3 Comments | Posted in Gravity Forms » Hacks & Mods » Wordpress