Gravity Forms 1.8

Gravity Forms was updated to version 1.8, from version 1.7.13. Changelog:

  • Added API to allow developers to easily perform operations such as read/update/delete/create forms and entries.
  • Added Web API to allow developers to perform operations such as read/update/delete/create forms and entries from a remote web site.
  • Added filter to export to allow entries to be changed before exporting them.
  • Added support for mu-plugins deployment.
  • Added JS filter: “gform_calculation_result” to allow modifying the calculated result.
  • Added JS filter: “gform_calculation_format_result” to allow user to override default formatting to calculated result.
  • Added fontawesome webfonts and icon support for form admin.
  • Added trash for forms.
  • Added sorting to form list.
  • Added form locking.
  • Added entry locking.
  • Added form settings locking.
  • Added plugin settings locking.
  • Added locking to the Add-On Framework.
  • Added Romanian and Georgian translation files.
  • Added Kosovo (KV) to the country list.
  • Added Cayman Islands to country list.
  • Added Active/Inactive functionality to Notifications.
  • Added Active/Inactive functionality to Confirmations.
  • Added Duplicate functionality to Notifications.
  • Added Duplicate functionality to Confirmations (not for the default confirmation).
  • Added enhanced entry search.
  • Added enhanced filters to entry export.
  • Added Query String setting to Page Confirmation.
  • Added hierarchy to the Post Category field UI when the “Select Categories” setting is active.
  • Added “Form Pending Message” option to Schedule Form restrictions in Form Settings.
  • Added gform_process_form hook.
  • Added Multi-file upload support to the File Upload field.
  • Added max file size setting to single file upload field.
  • Added two filters to next page button. (“gform_next_button”, and “gform_next_button_FORMID”). The first is a filter that applies to all forms. The second applies to a specific form.
  • Added two filters to previous page button. (“gform_previous_button”, and “gform_previous_button_FORMID”). The first is a filter that applies to all forms. The second applies to a specific form.
  • Added new style JS filter for the original Javascript filter gform_product_total() so that multiple filters can be applied to it.
  • Added new notification hook (gform_email_fields_notification_admin) to allow list of email fields to be filtered.
  • Added support for any/all mode for field filters in the search queries and API.
  • Added clean up of temp files removed from form submissions.
  • Added clean up of files older than 48 hours from abandoned submissions.
  • Added gform_form_trash_link filter to replace the deprecated gform_form_delete_link filter.
  • Added a “validate formula” button to the calculation formula setting in the form editor.
  • Added the “instructions” and “checkbox_label” properties of the feed_condition field in GFFeedAddOn.
  • Added gformGetProductQuantity() JS function for getting current quantity of an item; extracted from gformCalculateProductPrice().
  • Added GFFormDisplay::is_last_page() method as an easier method for determining if the last page of the form is being submitted.
  • Added support for GF_DEBUG constant on AJAX iframe to more easily allow viewing the contents of the iframe when debugging AJAX forms.
  • Added GFFormsModel::get_form_ids().
  • Added multifile support to the ‘post custom field’ field (file upload field type).
  • Added Entry ID, Entry Date, Starred, IP Address, Source URL, Payment Status, Payment Date, Payment Amount, Transaction ID and User to the list of available fields in the entry list search, export conditional logic and Add-On Framework results page filter.
  • Added sorting by active/inactive in form list.
  • Added form-specific version of “gform_register_init_scripts” hook.
  • Added JS filter: “gform_spinner_url” to allow modifying the spinner URL with the new gformInitSpinner() function.
  • Added logging statements to GFFormsModel::create_post().
  • Added logging statements to GFAsyncUpload::upload().
  • Updated GFFormDisplay::register_form_init_scripts() function to include ‘is_ajax’ parameter.
  • Updated ‘gform_register_init_scripts’ action to pass ‘is_ajax’ parameter.
  • Updated gravityforms_addon_browser capability to be gravityforms_view_addons since that is the one actually in use.
  • Updated GFFormsModel::get_entry_meta() to support an array of form IDs and all form IDs (zero).
  • Updated how GFFormsModel::prepare_value() handled credit card fields, allowing default formatting to be overwritten for the last credit card number.
  • Updated icons to use webfont where possible.
  • Updated CSS file removing IE 7 hacks and removed inline style blocks.
  • Updated the formatting for the Danish Krone.
  • Updated the styles of the form list and entry list to emphasise alternate rows.
  • Updated the credit card field HTML5 markup to use an HTML text input with a pattern instead of a number input.
  • Updated upgrade process so that it gets aborted if database user doesn’t have the proper permission to change or create tables.
  • Updated product labels to allow html formatting in the notifications and entry detail page instead of showing the html tags.
  • Updated {form_title} merge tag so that it is not available as a choice for field default values (since it is not supported there).
  • Updated gravity_form() function call to take “echo” parameter.
  • Updated page break fields in admin – replaced imagery with translatable text strings.
  • Updated admin.css for new icon and page break markup and styles.
  • Updated the merge tags cursor to pointer (hand).
  • Updated GFFormsModel::build_lead_array() to include long values by default. GFFormsModel::search_leads() and GFFormsModel::get_leads() now include long values in entry objects.
  • Updated date range tooltip on export entries page.
  • Updated bulk form actions text.
  • Updated the hierarchy indicator in the Post Category field from spaces to continuous lines.
  • Updated the results page to display as a view of the gf_entries page so the gravityforms_view_entries capability is required instead of gravityforms_edit_forms (in addition to the gravityforms_{add-on}_results capability).
  • Updated the results page filter box from sticky (always visible) and fixed height to static and fluid height.
  • Updated form submission process to trim leading and trailing spaces before validation and before saving. Added the gform_trim_input_value filter to so it’s possible to override this behaviour by field and by form.
  • Updated calculation formula so that it is now trimmed in the form editor.
  • Updated single product field. Removed Admin Label setting.
  • Updated conditional logic for fields with choices to display dropdown values for “is” and “is not” operators and a textbox values for other operators.
  • Updated automatic license key population so that it is remotely validated on first install and version change.
  • Updated the behaviour of the number field to add a leading zero if missing before decimal/comma (ie .5 or ,5 is now validated and stored as 0.5 or 0,5).
  • Updated resend notification UI so that it displays an appropriate message when no notifications are configured.
  • Updated tooltip function to optimize performance for WPML users.
  • Updated ‘gform_is_value_match’ filter to optionally pass rule object being validated.
  • Updated the location where the load_plugin_textdomain function is loaded so translations by third-party apps are loaded.
  • Updated code to use functions mb_substr and mb_strlen to truncate large text values before inserting them in the DB to accommodate for Chinese characters and other multi-byte characters.
  • Updated admin styles to comment out button styles conflicting with WP default button styles.
  • Updated remote license key validation procedure so that it consolidates all add-ons and gravity forms into one request/response to save requests to the Gravity Help server.
  • Updated form meta format to JSON.
  • Updated the “Delete Form” link in the form editor to “Move to trash”.
  • Updated the product quantity input type to “number” when HTML5 is enabled in settings.
  • Updated the credit card number input type to “number” when HTML5 is enabled in settings.
  • Updated the credit card security code input type to “number” when HTML5 is enabled in settings.
  • Updated references to gforms_gravityforms script handle to gform_gravityforms for consistency.
  • Updated spanish translation file.
  • Updated min required WP version to 3.4 (necessitated by use of wp_is_mobile() function).
  • Updated domain in add-on include files to use gravityforms for translations.
  • Updated hungarian translation file.
  • Updated the button text “Cancel” on the Bulk Add / Predefined Choices so it may be translated into other languages.
  • Updated {ip} merge tag to use GFFormsModel::get_ip() method.
  • Updated GFFormsModel::get_ip() method to try for $_SERVER[‘HTTP_CLIENT_IP’] first.
  • Updated form settings to use “label” instead of “name” when getting tab label.
  • Updated jQuery calls so that the deprecated jQuery.live() method isn’t used.
  • Updated POT file.
  • Updated the Web API to respond always with a 200 HTTP status along with a JSON object containing the status code and response.
  • Updated gformInitSpinner() to be generic and moved to gravityforms.js.
  • Updated enqueue and print script functions to enqueue gravityforms.js when AJAX is enabled.
  • Updated confirmation and notification titles to link to edit view for that item.
  • Updated the help page: removed references to the forum.
  • Updated the field filters on the export entries page and results page to include greater than and less than operators by default.
  • Fixed search criteria operators for likert fields.
  • Fixed issue where datepicker was displaying below WP content.
  • Fixed issue with ReCAPTCHA field throwing Javascript error.
  • Fixed tabindex for AJAX enabled forms after validation.
  • Fixed validation of standard phone field when value is zero.
  • Fixed issue where no formatting was being applied to calculated results.
  • Fixed issue where [gravityforms] shortcode (plural) was not detected and scripts were not loading correctly.
  • Fixed bulk actions at the bottom of the form list to reflect recent changes.
  • Fixed strings that weren’t properly localized.
  • Fixed an issue where the confirmation message would not be displayed below the progress bar on AJAX enabled forms.
  • Fixed an issue with GFCache which can result in long keys getting cut off. Keys are now hashed.
  • Fixed misspelling.
  • Fixed issue with weekly form scheduling.
  • Fixed conflict on add-on page causing an error when installing new plugins.
  • Fixed conditional logic conflict.
  • Fixed issue with pricing formatting on AJAX forms.
  • Fixed issue with entry list page where more entries were being used than the ones selected when applying actions.
  • Fixed issue with notification causing form to be “blank” in the editor under certain conditions.
  • Fixed issue with multisite database upgrade.
  • Fixed issue when creating a form using special characters.
  • Fixed dynamic population of admin only multi-selects.
  • Fixed dynamic population of admin only list fields.
  • Fixed issues with switched parameters on get_parameter_value() call causing issues with pre-populating certain field types.
  • Fixed issue with credit card field markup.
  • Fixed issue where zero amount totals were not being saved to carry over in Total merge tags.
  • Fixed issue with legacy notifications causing emails to be sent using field id instead of email address.
  • Fixed issue when adding multiple total fields to a form causing the total field entry data and total field merge tag to not save the correct value.
  • Fixed issue with calculations where formula choked when calculating single-input products when currency number format was ‘decimal_comma’.
  • Fixed issue with merge tags entered in the front end being executed when the field is added to notifications.
  • Fixed an issue with single file upload where the entry wouldn’t fail validation if the file exceeded the upload_max_filesize PHP init setting.
  • Fixed an issue the results page where single row likert fields display multiple rows with a form that’s been imported.
  • Fixed an issue the results page when the error message doesn’t display after a database timeout.
  • Fixed notice thrown in multi-site logging for $is_setup_completed variable.
  • Fixed encoding issue on Form Settings causing double quotes on form title to get dropped.
  • Fixed invalid license key message.
  • Fixed issue with database upgrade on multi-sites.
  • Fixed issue where form admin fields menu doesn’t remain on screen when scrolling and in no conflict mode.
  • Fixed the merge tags UI and the select columns UI on the entry list to display only Card Type and Card Number for the credit card field.
  • Fixed the calculation formula so that it accepts line breaks.
  • Fixed the add-on feed page feed condition setting.
  • Fixed issue when truncating text with special characters.
  • Fixed issue with date formatting.
  • Fixed text “Insert Form” so that it is localized.
  • Fixed the gform_save_field_value filter.
  • Fixed issue where some calculations resulted in “Infinity” being output to calculated field.
  • Fixed the gform_previous_button filter on the last page. Removed from first page.
  • Fixed issue where using decimal values from drop downs (and other fields) resulted in ignored decimals.
  • Fixed issue on export entries page allowing exports to be perform without a selected field.
  • Fixed typo on the export forms tab.
  • Fixed typo in the tooltip for the allowed file extensions setting in the fileupload field.
  • Fixed issue with the hidden field type in the form editor where the merge tags UI for the default value wasn’t displaying correctly.
  • Fixed issue with date field not resetting to default value correctly when hidden by conditional logic.
  • Fixed issue where number of updates available was being displayed when user didn’t have permissions to update the plugin.
  • Fixed issue with for in loops causing strange behavior under certain conditions.
  • Fixed issue on form notifications page where WP footer was overlapping notifications list.
  • Fixed issue when adding fields in the form editor. Users are now prevented from adding a field while another field is in the process of being added.
  • Fixed captcha math input id.
  • Deprecated the gform_form_delete_link filter.
  • Deprecated the gform_calculation_result function.