Plugin / ABN Lookup for Gravity Forms

Adrian Gordon

Changelog

Changelog

1.7.0

  • Feature: now uses native WordPress transients to store ABN Lookup cache
  • Maintenance: general code review and tidy up

1.6.6

  • Fix: resolve “Fatal error: Using $this when not in object context in” when using PHP 5.6 and below.

1.6.5

  • Feature: move form admin JavaScript to external file.
  • Feature: only show ABN Lookup result options (in form editor) if the form contains an ABN Lookup field.
  • Feature: improve handling to minimise someone attempting to make a field BOTH an ABN Lookup field AND result field.

1.6.4

  • Feature: better handling when an ABN lookup field hasnt been selected for an ABN result field in the form settings.

1.6.3

  • Maintenance: add keyup() event to radio fields when GST yes/no result cleared. For example, when an existing ABN has been entered and later removed.

1.6.2

  • Maintenance: add keyup() event to radio fields when GST yes/no result has been updated. Makes it easier to build conditional logic and build number field calculations based on GST status (e.g. GST rate).

1.6.1

  • Feature: add options to control abn lookup timeout and number of retries before lookup fails. Default remains 5 seconds before timeout and 3 retries.

1.6.0

  • Feature: change field validation so that ABN Lookup fields can be set as mandatory (or not), separate from the ABN validation options (registered for GST, is valid etc)
  • Maintenance: change how plugin checks for Gravity Forms being installed and active
  • Maintenance: add additional sanitization for ABNs provided by users and passed to the ABR system

1.5.0

  • Feature: Add filter to allow custom radio field input values for GST result fields
  • Maintenance: improve support for ‘List Field Number Format for Gravity Forms’ plugin

1.4.3

  • Fix: Improve JavaScript error handling in form editor.

1.4.1

  • Fix: Patch to allow scripts to enqueue when loading Gravity Form through wp-admin. Gravity Forms 2.0.3.5 currently has a limitation that stops the required scripts from loading through the addon framework.
  • Maintenance: Add minified JavaScript and CSS
  • Maintenance: Confirm working with WordPress 4.6.0 RC1
  • Maintenance: Update to improve support for Gravity Flow plugin

1.4.0

  • Feature: Add ‘None’ option for ABN Lookup validation. This will allow forms to submit with an invalid ABN, for example if an ABN was recently created and not yet available in the Australian Business Register.
  • Feature: Add ABN Registered and GST Registered results options, these can be found in a Date field in the form editor. The date format can be controlled using the standard format option as well as apply conditional logic to the results.
  • Fix: Resolve JavaScript ‘undefined variable’ error message seen in Internet Explorer 11.
  • Maintenance: Improve translation support.

1.3.2

  • Maintenance: Add some styling to the options in the form editor.
  • Maintenance: Moved JavaScript to external file.
  • Maintenance: Change JavaScript and CSS to load using Gravity Forms addon framework.
  • Maintenance: Tested against Gravity Forms 2.0 RC1.
  • Maintenance: Tested against Gravity PDF 4.0 RC4.

1.3.1

  • Maintenance: Improve support for PHP version 5.2 and 5.3.
  • Maintenance: Improve support for multi-site WordPress installations.

1.3.0

  • Feature: Added ‘Check ABN’ button displayed next to ABN Lookup enabled field. Can be used by user to trigger ABN Lookup and will also make them aware that the form field is special.
  • Maintenance: Tweaking CSS.
  • Maintenance: Improve do_abnlookup function to stop lookups happening when an ABN Lookup field is empty.

1.2.4

  • Maintenance: Improved JavaScript to trigger ABN Lookup when ABN Lookup results field is empty but the linked ABN Lookup field has an ABN.
  • Maintenance: Improved translation support.
  • Maintenance: Tidy up of PHP code, working towards WordPress standards.

1.2.3

  • Fix: Resolve issue with ABN status information appearing in Gravity Forms entry editor.

1.2.2

  • Maintenance: Improved handling for when ABN Lookup fields are in a section that has conditional logic applied.

1.2.1

  • Fix: Resolve issue with GST field settings not saving in form editor.

1.2.0

  • Feature: Change communication method to the Australian Business Register from SOAP to GET.
  • Maintenance: Add error handling if an individual entity does not have a middle name.

1.1.1

  • Maintenance: Add check for SOAP client to ensure plugin does not cause the ‘white screen of death’ is web host does not have SOAP installed and enabled.

1.1.0

  • Feature: Allow ABN Lookup to be triggered by pressing the enter key. If a user presses the enter key inside an ABN Lookup field the default action of submitting the form will be prevented and the ABN Lookup will begin instead.
  • Feature: Add timeout, retry and error message. If unable to communicate with Australian Business register after five seconds the script will try again up to three times. After three times an error message is displayed to the user.
  • Maintenance: Refine default messages – invalid message now has a link to the Australian Business Register.
  • Maintenance: Make error message styling more consistent with Gravity Forms field error messages.

1.0.2

  • FEATURE: Override ABR error message ‘Search text is not a valid ABN or ACN’ as it is not particularly useful for the end user. If this error message is returned by the ABN Lookup API the ‘ABN not valid’ error message will be displayed instead. This can be customised in the ABN Lookup for Gravity Forms settings page.

1.0.1

  • FIX: Revise JavaScript to resolve issue with linked fields displaying when ABN is not valid.
  • FIX: Revise JavaScript to trigger change event when linked fields are prefilled. This allows Gravity Forms conditional logic to be used against the linked fields.

1.0

  • First public release.

Ratings

5
3 reviews

Rating breakdown

Details Information

Version

1.7.0

First Released

10 Feb, 2016

Total Downloads

1,542

Wordpress Version

5.0 or higher

Tested up to:

5.1.3

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.