Gravity Forms v1.6.4.2 Released
By Carl Hancock Published May 7, 2012Gravity Forms v1.6.4.2 is now available via automatic update. This is an important maintenance release that resolves javascript issues related to WordPress themes not properly implementing the jQuery javascript library. This release also implements improvements and refinements to new calculation functionality introduced in Gravity Forms v1.6.4.
The major issue this release resolves is a javascript error caused by themes that are enqueuing their own outdated version of jQuery or enqueuing an outdated version of jQuery from an external source such as Google’s jQuery API. WordPress comes with jQuery, there is no reason to use any other jQuery than what is built into WordPress. Doing so only leads to headaches down the road.
We implemented a workaround to support these situations, however WordPress theme developers could do the entire WordPress community a huge favor by learning the proper way to use jQuery within their themes and then workarounds such as this would not be necessary.
What Was Fixed
- Moved Cardholder name under the expiration date on credit card fields.
- Updated AJAX .submit() call, removing extra event data parameter that caused a conflict with some scripts.
- Added override for jQuery “prop” method which defaults to using attr if prop not available.
- Fixed issue with website validation not allowing port numbers to be entered.
- Fixed issue with field calculation not taking fields hidden by conditional logic into account.
- Fixed issue with post image size merge tag drop down not saving its value properly.
- Fixed issue where field calculations were not triggering conditional logic.
- Fixed issue with {all_fields} displaying duplicate values.
- Fixed issue with No conflict mode not enqueueing gravityforms.js on the form editor.
- Fixed Single Product field so that the field label is changed to match the pre-populated product name.
- Fixed issue with Forms menu overriding other custom post type menus.
- Fixed issue where number fields in HTML where chocking on comma-formatted numbers.
- Fixed issue on form editor for forms that had hidden product fields.
You can update to the latest version of Gravity Forms using Automatic Update. Just visit the Updates page under the Forms navigation in your WordPress Dashboard. Update deployment is staged so if you do not see the update available, try again in a few hours. You can also download the latest version of the plugin from the Downloads page.