Changed the method by which JS events could be added before and after form submission. Previously, a proprietary function registration system was used. In this version, however, this system has been dropped in favor of the jQuery event method. Ninja Forms will now fire a custom event of "beforeSubmit" before a form is submitted. Returning false in a function handler on this event will cause submission to be cancelled. "submitResponse" is the custom event fired by Ninja Forms when a form has been submitted. See includes/js/dev/ninja-forms-display.js for details in the comments.
Changed the method by which JS events could be added before and after form submission. Previously, a proprietary function registration system was used. In this version, however, this system has been dropped in favor of the jQuery event method. Ninja Forms will now fire a custom event of "beforeSubmit" before a form is submitted. Returning false in a function handler on this event will cause submission to be cancelled. "submitResponse" is the custom event fired by Ninja Forms when a form has been submitted. See includes/js/dev/ninja-forms-display.js for details in the comments.
Updating to version 2.2.37.
Adding a credit card field. By default, this field isn't shown in the field list; devs creating payment gateways will need to enable it using the ninja_forms_enable_credit_card_field filter and returning true. Also, the credit card fields aren't automatically $_POST'd. This will need to be enabled using the ninja_forms_post_credit_card_field filter and returning true.
Changed the email field so that it will validate even if the field isn't required.
Updating to version 2.2.37.
Added alt text to the loading.gif.
Fixed a bug that prevented Calculation fields from working properly with the Conditional Logic extension.
The invalid Email message label should now properly populate upon plugin activation.
Fixed a bug that caused the CSV files attached to admin emails to only contain the date.
Updating to version 2.2.38.
Updating to version 2.2.38.
Updating to version 2.2.39
Fixed a bug that caused the date picker "next" and "previous" buttons to disappear when used on the same page as a rich text editor.
Fixed a bug that caused file uploads and CSV files not to be sent as attachments on multi-part forms.
Fixed a bug that caused calculation fields to show as 0 in admin emails and CSV files.
Fixed a bug with list fields and calculations that caused the item label to be used rather than the calc value.
Fixed a few PHP notices (thanks @mpeshev). Importing calculation fields should now work properly. Closes #74
Fixed a few PHP notices (thanks @mpeshev).
Wrapped the calc field filter in an if() to make sure that it only ran if $ninja_forms_processing isn't set.