PluginProbe
HTML Forms – Simple WordPress Forms Plugin / 1.3.17
HTML Forms – Simple WordPress Forms Plugin v1.3.17
1.7.0 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.3.0 1.3.1 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.3.15 1.3.16 All 67 releases
html-forms / readme.txt

readme.txt in HTML Forms – Simple WordPress Forms Plugin 1.3.17, at readme.txt

488 lines 16.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === HTML Forms ===
2 Contributors: Ibericode, DvanKooten, hchouhan, lapzor
3 Donate link: https://htmlformsplugin.com/#utm_source=wp-plugin-repo&utm_medium=html-forms&utm_campaign=donate-link
4 Tags: form, forms, contact form, html form
5 Requires at least: 4.6
6 Tested up to: 5.6
7 Stable tag: 1.3.17
8 License: GPLv2 or later
9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
10 Requires PHP: 5.3
11
12 Not just another contact form plugin.
13
14 == Description ==
15
16 With [HTML Forms](https://htmlformsplugin.com/), you can easily add multi-purpose forms to your WordPress site.
17
18 The idea behind HTML Forms is different than most other form builder plugins: **You manage the form HTML. The plugin manages the PHP and a tiny bit of JavaScript**.
19
20 That's right. No "intuitive" drag & drop interface. We believe that dynamic form builders can be great, but they also severely limit your options. Also, they're slow and overly complicated from a technical point of view.
21
22 HTML Forms aims to be simpler, faster and smarter.
23
24 You define your form fields in HTML and the plugin takes care of submitting the form, saving the data and running a configurable set of form actions.
25
26 > ### 1. Define your form fields
27 > You can use anything that is valid HTML. Just ensure all `input` elements in your form have a `name` attribute to save the data entered in that field.
28 > ### 2. Configure your form actions
29 > By default, form submissions are automatically saved for you. You can configure several other actions to run when a form is submitted, like sending an email notification or subscribing to Mailchimp.
30 > ### 3. Show the form somewhere on your site
31 > Show your form by using the `[hf_form]` shortcode in your WordPress posts, pages or widget areas.
32
33 ## HTML Forms features
34
35 - Full control over the HTML for the form fields. If you want, we'll help you in generating the field HTML though.
36 - Each form submission is automatically saved in your database and can be viewed in a simple table format.
37 - Configure an unlimited amount of actions to run when a form is successfully submitted. For example, sending out email notifications.
38 - Access form field values by referencing the field name, eg `[NAME]` or `[EMAIL]`.
39 - Hide form or redirect to URL after a successful submission.
40 - Configurable & translatable form messages.
41 - Field validation.
42 - Developer friendly. HTML Forms comes with a myriad of [JavaScript events](https://kb.htmlformsplugin.com/javascript-events/) and WordPress hooks that allow you to modify or extend the plugin's default behavior.
43
44 ## Who is this for?
45
46 HTML Forms is for everyone that wants a flexible & high performing form solution.
47
48 - Users. Managing your own site? With HTML Forms, you don't need any technical knowledge to setup a contact form.
49 - Developers. Building a site for your client? You supply the form HTML, HTML Forms takes care of validating and processing the form.
50 - Theme developers. Shipping a theme? HTML Forms allows for complete blend-in with your theme, and you don't have to write yet another contact form plugin.
51
52 With HTML Forms you can create any type of form. Contact forms, registration forms, price quote forms, you name it. It's somewhat similar to Contact Form 7, but without yet another template language for you to learn.
53
54 For more information, please visit [htmlformsplugin.com](https://htmlformsplugin.com/).
55
56 ### Support
57
58 The [HTML Forms knowledge base](https://kb.htmlformsplugin.com/) covers a wide range of frequently asked questions.
59
60 Use the [WordPress.org plugin forums](https://wordpress.org/support/plugin/html-forms) for community support where we try to help all of our users. If you found a bug, please create an issue on Github where we can act upon them more efficiently.
61
62 ### Contributing
63
64 You can contribute to HTML Forms in various ways. For example:
65
66 - Write about the plugin on your blog or share it on social media.
67 - [Translate the plugin into your language](https://translate.wordpress.org/projects/wp-plugins/html-forms/stable/) using your WordPress.org account.
68 - Leave feedback on issues in GitHub: [ibericode/html-forms](https://github.com/ibericode/html-forms)
69
70 == Installation ==
71
72 1. In your WordPress admin panel, go to *Plugins > New Plugin*, search for **HTML Forms** and click "*Install now*"
73 1. Alternatively, download the plugin and upload the contents of `html-forms.zip` to your plugins directory, which usually is `/wp-content/plugins/`.
74 1. Activate the plugin
75
76 For more information, please refer to the [HTML Forms Knowledge Base](https://kb.htmlformsplugin.com/#utm_source=wp-plugin-repo&utm_medium=html-forms&utm_campaign=installation-instructions).
77
78 == Frequently Asked Questions ==
79
80 #### Where can I find help?
81 Start by going through the [HTML Forms knowledge base](https://kb.htmlformsplugin.com/#utm_source=wp-plugin-repo&utm_medium=html-forms&utm_campaign=plugin-faq) where we cover a wide range of frequently asked questions.
82
83 #### How to display a form in posts or pages?
84 Use the `[hf_form]` shortcode.
85
86 #### How to display a form in widget areas like the sidebar or footer?
87 Go to **Appearance > Widgets**, add the "Text Widget" to any of your widget areas and use the `[hf_form]` shortcode.
88
89 #### How do I show a form in a pop-up?
90
91 We recommend the [Boxzilla pop-up plugin](https://wordpress.org/plugins/boxzilla/) for this. You can use the `[hf_form]` shortcode in your pop-up box to render any of your forms.
92
93 #### Can I send an email when the form is submitted?
94
95 Yes! You can configure this by opening up the "Actions" tab when editing your form and clicking the "Email" button under "Available actions".
96
97 ### Does the plugin include anti-spam measures?
98
99 The plugin comes with built-in spam protection that should stop all automated attacks. When the built-in protection doesn't cut it, [WPBruiser](https://wordpress.org/plugins/goodbye-captcha/) surely will.
100
101
102 == Screenshots ==
103
104 1. Overview of forms in HTML Forms.
105 2. Editing form fields.
106 3. Sending an email when a form is submitted.
107 4. Viewing saved form submissions.
108 5. Hide form or redirect to URL after form submission.
109 6. Configurable form messages.
110 7. Details of a specific form submission.
111
112
113 == Changelog ==
114
115
116 #### 1.3.17 - Dec 21, 2020
117
118 - Forms are now sortable by name on overview page.
119 - Update internal dependencies to their latest versions.
120 - Add `role="alert"` to form messages.
121 - Optimize size of public JavaScript file (25% size reduction) by rewriting some dependencies.
122 - Add filter for tabs in admin area.
123
124
125 #### 1.3.16 - May 6, 2020
126
127 - Add filter hook for successful form responses: `hf_form_response`
128 - Only try to detect WPBruiser hidden input fields whenever that plugin is activated.
129 - Stop explicitly enabling shortcodes in text widgets as this is now handled by WordPress core (as of version 4.9).
130 - Explicitly set engine and charset on submissions database table.
131
132
133 #### 1.3.14 - Nov 6, 2019
134
135 **Improvements**
136
137 - Stop using `supress_filters` argument when retrieving forms, for a possible performance improvement.
138 - Prevent extra SQL query for options when global settings have not been saved yet.
139
140
141 #### 1.3.13 - Oct 18, 2019
142
143 **Fixes**
144
145 - Special HTML characters being encoded even in plain text emails.
146
147 **Improvements**
148
149 - HTML tags are no longer stripped from field values, so forms can now accept HTML. HTML is still escaped upon display to prevent XSS.
150
151
152 #### 1.3.12 - Oct 11, 2019
153
154 Compatibility with Mailchimp for WordPress 4.6.
155
156
157 #### 1.3.11 - Sep 17, 2019
158
159 **Improvements**
160
161 - Write results from Mailchimp action to MC4WP debug log.
162
163
164 #### 1.3.10 - Sep 5, 2019
165
166 **Fixes**
167
168 - PHP warning introduced in latest update when using array fields.
169
170
171 #### 1.3.9 - Sep 2, 2019
172
173 **Fixes**
174
175 - Strip out [WPBruiser](https://wordpress.org/plugins/goodbye-captcha/) token field to prevent it from being stored.
176
177 **Improvements**
178
179 - Add filter hooks to variables inside the email action. Thanks to [Ryan Salerno](https://github.com/ryansalerno).
180
181
182 #### 1.3.8 - May 28, 2019
183
184 **Fixes**
185
186 - Invalid HTML for generated textarea tag.
187
188 **Improvements**
189
190 - Improved HTML escaping, preserve double and single quotes.
191 - Explicitly set charset of HTML emails to UTF-8 by default.
192 - Escape HTML after limiting string length, not before.
193
194
195 #### 1.3.7 - April 8, 2019
196
197 **Additions**
198
199 - Add Gutenberg block for adding shortcode to content.
200 - Add setting in field builder for the `multiple` attribute on `<select>` elements.
201 - Add `hf_get_forms()` function for retrieving multiple form objects.
202
203 **Improvements**
204
205 - Add `edit_form` capability to user that activates the plugin.
206
207
208 #### 1.3.6 - March 27, 2019
209
210 **Improvements**
211
212 - Don't strip HTML from variable replacements in HTML emails. This change allows you to link to uploaded files properly.
213
214
215 #### 1.3.5 - January 29, 2019
216
217 **Improvements**
218
219 - Allow adding form field variables to the form's redirect URL.
220
221
222 #### 1.3.4 - January 9, 2019
223
224 **Improvements**
225
226 - Reload available field variables when adding action on form settings page.
227 - Add role="alert" attribute to all form messages.
228 - Emit "message" event whenever message is shown to user.
229
230
231 #### 1.3.3 - November 6, 2018
232
233 **Fixes**
234
235 - Fix selected state of email content type.
236
237 **Improvements**
238
239 - Add filter & action hook for extending forms with custom messages & message settings.
240 - Don't add line-breaks automatically when using HTML emails.
241 - Delete all related postmeta when deleting a submission.
242
243
244 #### 1.3.2 - Aug 6, 2018
245
246 **Improvements**
247
248 - Default to an empty string value in conditional fields logic. This allows you to show or hide elements when a field is empty or has not been set yet.
249
250
251 #### 1.3.1 - June 12, 2018
252
253 **Improvements**
254
255 - Format dates, files and arrays when using data variables.
256 - Format dates, files and arrays on the submissions overview and submissions details pages.
257 - Allow cancelling a form's submit event in JavaScript (with `event.stopPropagation()`) to prevent form submission.
258
259
260 #### 1.3.0 - May 28, 2018
261
262 **Fixes**
263
264 - PHP notice because of namespace import outside of any namespace.
265 - Removed usage of PHP 5.4+ feature.
266 - Enforce HTTPS in form preview iframe when WP Admin uses HTTPS but public site does not.
267
268 **Improvements**
269
270 - Hook into GDPR Personal Data Export & Erase functionality. Requires WP 4.9.6.
271 - Allow updating stored Submissions with empty values. [Allows 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).
272 - Internal field should start with underscore to hide it in column view.
273 - Add for attribute to generated label element. Allows for simple [multi-step forms](https://github.com/ibericode/html-forms-code-snippets/blob/master/multi-step-form.html).
274
275 **Additions**
276
277 - Add support for button clicks in conditional element logic.
278
279
280 #### 1.2.0 - April 24, 2018
281
282 **Fixes**
283
284 - Remove use of short-array syntax, which is only available in PHP 5.4 or later.
285
286 **Improvements**
287
288 - You can now hide columns on the submissions tab using screen options (in the top right corner).
289 - You can now disable saving submissions on a per-form basis.
290 - Allow pre-checking multiple checkboxes when using the field helper
291 - Fields with matching URL parameter names will automatically be prefilled.
292 - Use SVG icon in admin menu.
293
294 **Additions**
295
296 - Add simple action for subscribing to Mailchimp. Requires the [Mailchimp for WordPress plugin](https://wordpress.org/plugins/mailchimp-for-wp/).
297
298
299 #### 1.1.5 - April 9, 2018
300
301 **Fixes**
302
303 - Conditionally hidden fields are now ignored in server-side required field validation too. Thanks [Jeroen Sormani](https://github.com/JeroenSormani)!
304
305 **Improvements**
306
307 - Added foundational stuff for being able to handle file uploads.
308
309 **Additions**
310
311 - Added `hf_process_form` action to execute code before the form actions run.
312
313
314 #### 1.1.4 - March 28, 2018
315
316 **Fixes**
317
318 - Ensure form is fully functional in live preview.
319 - Show all forms on the forms overview page (limit was 5).
320 - Parse field variables in custom email headers. Thanks [Jeroen Sormani](https://github.com/JeroenSormani)!
321
322 **Improvements**
323
324 - You can now [bind JavaScript events](https://kb.htmlformsplugin.com/javascript-events/) using the default browser API, eg `document.getElementById('hf-form-5').addEventListener('hf-success', ..);`
325 - Only load JavaScript file on pages with a form on it.
326 - Don't add line-breaks in HTML generated by the Field Builder.
327 - [Conditional elements](https://kb.htmlformsplugin.com/conditional-elements/) now accept wildcard values: `*`
328 - Available field variables in email action settings are now clickable.
329
330 **Additions**
331
332 - Added several action & filter hooks to enable advanced functionality in [HTML Forms Premium](https://www.htmlformsplugin.com/premium-features/).
333
334
335 #### 1.1.3 - February 12, 2018
336
337 **Fixes**
338
339 - Form preview was not working when WPML was activated.
340
341 **Improvements**
342
343 - Improved theme compatibility for the form preview.
344 - Print submission details as JSON instead of PHP object.
345 - Form messages are now added to the element as data attributes, so they can be used in JavaScript event callbacks.
346
347 **Additions**
348
349 - [Conditional logic](https://kb.htmlformsplugin.com/conditional-elements/) now accepts multiple values, separated by the |-character.
350
351
352 #### 1.1.2 - January 18, 2018
353
354 **Fixes**
355
356 - Conditional elements visible in form preview.
357 - WP_List_Table issue on forms overview page.
358
359 **Improvements**
360
361 - Allow disabling submission storage through a global setting.
362 - Hide submissions tab when submission storage is disabled.
363 - Prevent PHP notice if `$_SERVER` global is missing properties.
364 - Update JavaScript dependencies.
365
366 **Additions**
367
368 - Filter: `hf_ignored_field_names`
369
370
371 #### 1.1.1 - December 21, 2017
372
373 **Fixes**
374
375 - Incorrect role capability for administrators.
376
377
378 #### 1.1 - December 21, 2017
379
380 **Fixes**
381
382 - JavaScript error in some older browser when submitting the form.
383
384 **Improvements**
385
386 - Use custom user capability base for editing & viewing forms.
387 - Delay form response until a later hook so other plugins get a chance to hook in.
388 - Disable client-side validation for conditional fields marked as required.
389
390 **Additions**
391
392 - Added live preview to the form editor.
393
394
395 #### 1.0.6 - December 11, 2017
396
397 **Fixes**
398
399 - Array replacements in email message were showing "Array" instead of a comma separated list of values.
400 - Don't reset form when there are errors. Thanks [Jeroen Sormani](https://github.com/JeroenSormani)!
401
402 **Additions**
403
404 - You can now use certain [template variables](https://kb.htmlformsplugin.com/template-variables/) in the form content which will be dynamically replaced.
405 - Added `hf_validate_form_{$form_slug}` filter hook.
406 - Added `hf_form_{$form_slug}_success` action hook.
407
408
409 #### 1.0.5 - November 18, 2017
410
411 **Fixes**
412
413 - Could not save more than one "Email" action.
414
415
416 #### 1.0.4 - November 10, 2017
417
418 **Fixes**
419
420 - Incompatibility with PHP versions before 5.6.
421 - Data variables could not be placed on the same line.
422
423 **Improvements**
424
425 - Clear output buffer before sending AJAX response to prevent issues with response parsing.
426
427 **Additions**
428
429 - Added `hf_form_message_{$code}` filter hook.
430
431
432
433 #### 1.0.3 - November 6, 2017
434
435 **Additions**
436
437 - Added [support for conditional elements](https://kb.htmlformsplugin.com/conditional-elements/) by using `data-show-if` and `data-hide-if` attributes.
438
439 **Improvements**
440
441 - Accept `id` argument in `[hf_form]` shortcode.
442 - Catch errors in shortcode's `slug` attribute.
443 - Allow changing form slug after initial form is saved.
444
445 **Fixes**
446
447 - Fixes stylesheet URL when option to load stylesheet is toggled.
448
449
450
451 #### 1.0.2 - October 30, 2017
452
453 **Fixes**
454
455 - Form validation always failing when form has 0 required fields.
456
457 **Improvements**
458
459 - Fake success response when honeypot validation fails.
460 - Validate request by comparing size of POST array with number of form fields.
461 - Ensure submit button never has label element when using the field helper.
462 - Optimize URL generation of asset files on frontend.
463
464 **Additions**
465
466 - Added `hf_validate_form_request_size` filter hook.
467
468
469 #### 1.0.1 - October 28, 2017
470
471 **Improvements**
472 - Added SVG admin menu icon.
473 - Field names are now sanitized before they are saved in the database.
474 - Submit button was missing for default form fields.
475 - Unneeded `<form>` tags are now stripped from the form before saving.
476
477 **Additions**
478 - Added `data-title` and `data-slug` attributes to the `<form>` element on the frontend.
479
480
481 #### 1.0 - October 25, 2017
482
483 Introducing a first version of HTML Forms, a different approach to forms for WordPress sites.
484
485
486
487 == Upgrade Notice ==
488