| 1 |
Changelog |
| 2 |
========= |
| 3 |
|
| 4 |
#### 1.3.1 - June 12, 2018 |
| 5 |
|
| 6 |
**Improvements** |
| 7 |
|
| 8 |
- Format dates, files and arrays when using data variables. |
| 9 |
- Format dates, files and arrays on the submissions overview and submissions details pages. |
| 10 |
- Allow cancelling a form's submit event in JavaScript (with `event.stopPropagation()`) to prevent form submission. |
| 11 |
|
| 12 |
|
| 13 |
#### 1.3.0 - May 28, 2018 |
| 14 |
|
| 15 |
**Fixes** |
| 16 |
|
| 17 |
- PHP notice because of namespace import outside of any namespace. |
| 18 |
- Removed usage of PHP 5.4+ feature. |
| 19 |
- Enforce HTTPS in form preview iframe when WP Admin uses HTTPS but public site does not. |
| 20 |
|
| 21 |
**Improvements** |
| 22 |
|
| 23 |
- Hook into GDPR Personal Data Export & Erase functionality. Requires WP 4.9.6. |
| 24 |
- Allow updating stored Submissions with empty values. [](https://github.com/ibericode/html-forms-code-snippets/blob/master/do-not-store-ip-address-and-user-agent.phpAllows clearing out IP address & user agents](https://github.com/ibericode/html-forms-code-snippets/blob/master/do-not-store-ip-address-and-user-agent.php](https://github.com/ibericode/html-forms-code-snippets/blob/master/do-not-store-ip-address-and-user-agent.php). |
| 25 |
- Internal field should start with underscore to hide it in column view. |
| 26 |
- Add for attribute to generated label element. Allows for simple [](https://github.com/ibericode/html-forms-code-snippets/blob/master/multi-step-form.htmlmulti-step forms](https://github.com/ibericode/html-forms-code-snippets/blob/master/multi-step-form.html](https://github.com/ibericode/html-forms-code-snippets/blob/master/multi-step-form.html). |
| 27 |
|
| 28 |
**Additions** |
| 29 |
|
| 30 |
- Add support for button clicks in conditional element logic. |
| 31 |
|
| 32 |
|
| 33 |
#### 1.2.0 - April 24, 2018 |
| 34 |
|
| 35 |
**Fixes** |
| 36 |
|
| 37 |
- Remove use of short-array syntax, which is only available in PHP 5.4 or later. |
| 38 |
|
| 39 |
**Improvements** |
| 40 |
|
| 41 |
- You can now hide columns on the submissions tab using screen options (in the top right corner). |
| 42 |
- You can now disable saving submissions on a per-form basis. |
| 43 |
- Allow pre-checking multiple checkboxes when using the field helper |
| 44 |
- Fields with matching URL parameter names will automatically be prefilled. |
| 45 |
- Use SVG icon in admin menu. |
| 46 |
|
| 47 |
**Additions** |
| 48 |
|
| 49 |
- Add simple action for subscribing to MailChimp. Requires [](https://wordpress.org/plugins/mailchimp-for-wp/MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/](https://wordpress.org/plugins/mailchimp-for-wp/). |
| 50 |
|
| 51 |
|
| 52 |
#### 1.1.5 - April 9, 2018 |
| 53 |
|
| 54 |
**Fixes** |
| 55 |
|
| 56 |
- Conditionally hidden fields are now ignored in server-side required field validation too. Thanks [](https://github.com/JeroenSormaniJeroen Sormani](https://github.com/JeroenSormani](https://github.com/JeroenSormani)! |
| 57 |
|
| 58 |
**Improvements** |
| 59 |
|
| 60 |
- Added foundational stuff for being able to handle file uploads. |
| 61 |
|
| 62 |
**Additions** |
| 63 |
|
| 64 |
- Added `hf_process_form` action to execute code before the form actions run. |
| 65 |
|
| 66 |
|
| 67 |
#### 1.1.4 - March 28, 2018 |
| 68 |
|
| 69 |
**Fixes** |
| 70 |
|
| 71 |
- Ensure form is fully functional in live preview. |
| 72 |
- Show all forms on the forms overview page (limit was 5). |
| 73 |
- Parse field variables in custom email headers. Thanks [](https://github.com/JeroenSormaniJeroen Sormani](https://github.com/JeroenSormani](https://github.com/JeroenSormani)! |
| 74 |
|
| 75 |
**Improvements** |
| 76 |
|
| 77 |
- You can now [](https://kb.htmlforms.io/javascript-events/bind JavaScript events](https://kb.htmlforms.io/javascript-events/](https://kb.htmlforms.io/javascript-events/) using the default browser API, eg `document.getElementById('hf-form-5').addEventListener('hf-success', ..);` |
| 78 |
- Only load JavaScript file on pages with a form on it. |
| 79 |
- Don't add line-breaks in HTML generated by the Field Builder. |
| 80 |
- [](https://kb.htmlforms.io/conditional-elements/Conditional elements](https://kb.htmlforms.io/conditional-elements/](https://kb.htmlforms.io/conditional-elements/) now accept wildcard values: `*` |
| 81 |
- Available field variables in email action settings are now clickable. |
| 82 |
|
| 83 |
**Additions** |
| 84 |
|
| 85 |
- Added several action & filter hooks to enable advanced functionality in [](https://www.htmlforms.io/premium-features/HTML Forms Premium](https://www.htmlforms.io/premium-features/](https://www.htmlforms.io/premium-features/). |
| 86 |
|
| 87 |
|
| 88 |
#### 1.1.3 - February 12, 2018 |
| 89 |
|
| 90 |
**Fixes** |
| 91 |
|
| 92 |
- Form preview was not working when WPML was activated. |
| 93 |
|
| 94 |
**Improvements** |
| 95 |
|
| 96 |
- Improved theme compatibility for the form preview. |
| 97 |
- Print submission details as JSON instead of PHP object. |
| 98 |
- Form messages are now added to the element as data attributes, so they can be used in JavaScript event callbacks. |
| 99 |
|
| 100 |
**Additions** |
| 101 |
|
| 102 |
- [](https://kb.htmlforms.io/conditional-elements/Conditional logic](https://kb.htmlforms.io/conditional-elements/](https://kb.htmlforms.io/conditional-elements/) now accepts multiple values, separated by the |-character. |
| 103 |
|
| 104 |
|
| 105 |
#### 1.1.2 - January 18, 2018 |
| 106 |
|
| 107 |
**Fixes** |
| 108 |
|
| 109 |
- Conditional elements visible in form preview. |
| 110 |
- WP_List_Table issue on forms overview page. |
| 111 |
|
| 112 |
**Improvements** |
| 113 |
|
| 114 |
- Allow disabling submission storage through a global setting. |
| 115 |
- Hide submissions tab when submission storage is disabled. |
| 116 |
- Prevent PHP notice if `$_SERVER` global is missing properties. |
| 117 |
- Update JavaScript dependencies. |
| 118 |
|
| 119 |
**Additions** |
| 120 |
|
| 121 |
- Filter: `hf_ignored_field_names` |
| 122 |
|
| 123 |
|
| 124 |
#### 1.1.1 - December 21, 2017 |
| 125 |
|
| 126 |
**Fixes** |
| 127 |
|
| 128 |
- Incorrect role capability for administrators. |
| 129 |
|
| 130 |
|
| 131 |
#### 1.1 - December 21, 2017 |
| 132 |
|
| 133 |
**Fixes** |
| 134 |
|
| 135 |
- JavaScript error in some older browser when submitting the form. |
| 136 |
|
| 137 |
**Improvements** |
| 138 |
|
| 139 |
- Use custom user capability base for editing & viewing forms. |
| 140 |
- Delay form response until a later hook so other plugins get a chance to hook in. |
| 141 |
- Disable client-side validation for conditional fields marked as required. |
| 142 |
|
| 143 |
**Additions** |
| 144 |
|
| 145 |
- Added live preview to the form editor. |
| 146 |
|
| 147 |
|
| 148 |
#### 1.0.6 - December 11, 2017 |
| 149 |
|
| 150 |
**Fixes** |
| 151 |
|
| 152 |
- Array replacements in email message were showing "Array" instead of a comma separated list of values. |
| 153 |
- Don't reset form when there are errors. Thanks [](https://github.com/JeroenSormaniJeroen Sormani](https://github.com/JeroenSormani](https://github.com/JeroenSormani)! |
| 154 |
|
| 155 |
**Additions** |
| 156 |
|
| 157 |
- You can now use certain [](https://kb.htmlforms.io/template-variables/template variables](https://kb.htmlforms.io/template-variables/](https://kb.htmlforms.io/template-variables/) in the form content which will be dynamically replaced. |
| 158 |
- Added `hf_validate_form_{$form_slug}` filter hook. |
| 159 |
- Added `hf_form_{$form_slug}_success` action hook. |
| 160 |
|
| 161 |
|
| 162 |
#### 1.0.5 - November 18, 2017 |
| 163 |
|
| 164 |
**Fixes** |
| 165 |
|
| 166 |
- Could not save more than one "Email" action. |
| 167 |
|
| 168 |
|
| 169 |
#### 1.0.4 - November 10, 2017 |
| 170 |
|
| 171 |
**Fixes** |
| 172 |
|
| 173 |
- Incompatibility with PHP versions before 5.6. |
| 174 |
- Data variables could not be placed on the same line. |
| 175 |
|
| 176 |
**Improvements** |
| 177 |
|
| 178 |
- Clear output buffer before sending AJAX response to prevent issues with response parsing. |
| 179 |
|
| 180 |
**Additions** |
| 181 |
|
| 182 |
- Added `hf_form_message_{$code}` filter hook. |
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
#### 1.0.3 - November 6, 2017 |
| 187 |
|
| 188 |
**Additions** |
| 189 |
|
| 190 |
- Added [](https://kb.htmlforms.io/conditional-elements/support for conditional elements](https://kb.htmlforms.io/conditional-elements/](https://kb.htmlforms.io/conditional-elements/) by using `data-show-if` and `data-hide-if` attributes. |
| 191 |
|
| 192 |
**Improvements** |
| 193 |
|
| 194 |
- Accept `id` argument in `[hf_form]` shortcode. |
| 195 |
- Catch errors in shortcode's `slug` attribute. |
| 196 |
- Allow changing form slug after initial form is saved. |
| 197 |
|
| 198 |
**Fixes** |
| 199 |
|
| 200 |
- Fixes stylesheet URL when option to load stylesheet is toggled. |
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
#### 1.0.2 - October 30, 2017 |
| 205 |
|
| 206 |
**Fixes** |
| 207 |
|
| 208 |
- Form validation always failing when form has 0 required fields. |
| 209 |
|
| 210 |
**Improvements** |
| 211 |
|
| 212 |
- Fake success response when honeypot validation fails. |
| 213 |
- Validate request by comparing size of POST array with number of form fields. |
| 214 |
- Ensure submit button never has label element when using the field helper. |
| 215 |
- Optimize URL generation of asset files on frontend. |
| 216 |
|
| 217 |
**Additions** |
| 218 |
|
| 219 |
- Added `hf_validate_form_request_size` filter hook. |
| 220 |
|
| 221 |
|
| 222 |
#### 1.0.1 - October 28, 2017 |
| 223 |
|
| 224 |
**Improvements** |
| 225 |
- Added SVG admin menu icon. |
| 226 |
- Field names are now sanitized before they are saved in the database. |
| 227 |
- Submit button was missing for default form fields. |
| 228 |
- Unneeded `<form>` tags are now stripped from the form before saving. |
| 229 |
|
| 230 |
**Additions** |
| 231 |
- Added `data-title` and `data-slug` attributes to the `<form>` element on the frontend. |
| 232 |
|
| 233 |
|
| 234 |
#### 1.0 - October 25, 2017 |
| 235 |
|
| 236 |
Introducing a first version of HTML Forms, a different approach to forms for WordPress sites. |
| 237 |
|
| 238 |
|
| 239 |
|