This repository has been archived by the owner on Jan 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
/
changelog.txt
142 lines (128 loc) · 10.2 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
v1.1.0 (TBA)
- Fixed bug where sometimes a javascript error would occur in the form editor when trying to save a form after deleting a repeater.
- Fixed bug where sometimes a 'Undefined Index "conditionalLogic"' error is shown when submitting a form.
- Fixed bug where repeated field values would be cleared if on a multipage form. (Issue #21)
- Fixed bug where a PHP error is shown when viewing an entry's details if no repeater child fields have been filled out. (Issue #24) (Thanks @WebImage!)
- Fixed bug where repeated field tab indexes would be set to "NaN" if tab indexes are disabled. (Issue #28)
- Fixed bug where javascript erros would occur if there was more than one form on the same page.
- Fixed bug where javascript functions would try to do things on other forms on the same page even if they didn't have a repeater field.
- Fixed repeater start pre-populate setting.
- gfRepeater_getChoiceValue now gets the input values instead of labels. (Issue #22)
- Form editor will no longer let you screw up repeater fields and will notify you if you are trying to do something you shouldn't. (ie. Nesting repeaters, adding unsupported fields, etc.)
- Repeater button in the form editor has been moved to the "Advanced Fields" section.
- Repeater End button has been removed. Repeater end fields are now automatically added and deleted with the repeater start fields.
- Repeated fields with multiple inputs are now stored with their "subId" as key instead of just an increasing numeric key.
- Added support for conditional logic on the repeater start field. Repeater children and repeater end fields are also effected by their repeater start field.
- Added support for fields with "max length" set.
- Added support for fields with "enhanced user interface" enabled.
- Added gform_editor_repeater_field_settings and gform_editor_repeater_end_field_settings filters.
- Added support for animations! (Docs coming soon!)
v1.0.9 (1/25/2016)
- Fixed bug where in some cases a PHP error would occur when attempting to automatically disable ajax on a form. (Issue #18)
- Fixed bug where sometimes a javascript error would occur on date fields with a calendar icon. (Issue #15)
- Fixed bug where removing a specific repeatId would cause some weird things to happen.
- Fixed bug where repeaters in a multipage form that are not on the first page would appear to have failed validation even if the form hasn't been submitted.
- Fixed bug where repeaters in a muttipage form that are not on the first page would forget their saved data and ignore their start setting.
- Fixed hideButtons setting.
- Added [gfRepeater-buttons], [gfRepeater-add], and [gfRepeater-remove] shortcodes.
- Added custom CSS option to repeater start and end fields.
- Added gf_repeater_hide_add and gf_repeater_hide_remove CSS classes.
- Added gfRepeater_select javascript function.
- Added 'gform_repeater_init_done' trigger to window and individual forms.
- Changed 'beforeRepeat', 'afterRepeat', 'beforeUnRepeat', and 'afterUnRepeat' triggers to 'gform_repeater_before_repeat', 'gform_repeater_after_repeat', 'gform_repeater_before_unrepeat', and 'gform_repeater_after_unrepeat'.
- Repeated fields now respect conditional logic from outside the repeater.
- Applying conditional logic on a repeated section field now also applys that logic on repeated fields under that section.
- When exporting entries, repeater child data is now exported in a comma-separated list.
v1.0.8 (12/30/2015)
- Fixed bug where sometimes for some reason an input name would be sent as an array and cause a PHP error to display. (Issue #6)
- Fixed bug where sometimes validation message would be displayed multiple times for same field.
- Fixed bug where filters would not be loaded if Repeater was the first field on the form.
- Fixed bug where sometimes captured repeater input data would be applied to other forms in cases where there are multiple forms on one page.
- Fixed prepopulation for checkbox and radio fields.
- Changed the way settings and field data is sent to Javascript so now monkey patching the input mask script is no longer necessary.
- Field input masks are now stored in gfRepeaters data. (gfRepeaters[repeaterId]['children'][childId]['inputMask'])
- Added support for conditional logic enabled fields!
- Added support for Repeater merge tags.
- Cleaned up formatting for text-only email notifications.
- Changed Repeater End Setting from 'doNotUse' to 'hideButtons'.
- Added Repeater Start Setting 'Hide Label & Description' to appearance tab.
- Repeater label now defaults to 'Repeater' instead of blank and adminLabel now defaults to blank instead of 'Repeater'.
- Repeater Javascript now initiates after 'gform_post_render' has been triggered instead of on window load.
v1.0.7.2 (12/18/2015)
- Fixed saved repeater field data during validation. (Accidently broke it in the 1.0.7.1 patch)
v1.0.7.1 (12/18/2015)
- Fixed a bug where repeater would break multipage forms. (Sorry about that!)
v1.0.7 (12/17/2015)
- Fixed bug where field order was not saved when a form was submitted.
- Fixed syntax error for older versions of PHP.
- Repeated fields now have their tabindex set to the one that was assigned to the repeater start field.
- Repeater start field tabindex now stored in gfRepeaters data. (gfRepeaters[repeaterId]['data']['tabIndex'])
- Repeater is now repeated if a paremeter is set for a specific field that is higher than the start repeat count.
- Highest set paremeter number is now stored in gfRepeaters data. (gfRepeaters[repeaterId]['data']['paremCount'])
- Repeater dependencies, actions, and filters are now only loaded on forms that have a repeater field.
- Field type is now set for hidden and section fields in gfRepeaters data.
- Ajax is now automatically disabled on forms that have a repeater field. (Until I come up with a fix for ajax enabled forms)
- Added support for Andy Fragen's GitHub Updater. (See readme for more info)
- CSS is now minified.
- gfRepeaters data now contains the form ID number as a root and the repeater Id as a subroot. (See readme for more info)
Release Notes:
- Javascript functions now require the form ID to be specified. (See readme for more info)
v1.0.6 (12/7/2015)
- Fixed repeater 'start' setting. (Apparently it's been broken for awhile?)
- Fixed datepicker ui for repeated date fields.
- Fixed bug where repeater plugin wouldn't allow page settings to display in the form editor.
- Fixed entry detail formatting for emails and non-html views.
- Repeated field labels are no longer saved in the database with the entries and are now looked up by field ID.
- Added support for Hidden field type.
- Added the ability to change the repeater 'start' setting by using the built in Gravity Froms pre-populate filters and hooks.
- Added the ability to pre-populate repeated fields using the built in Gravity Forms filters and hooks. (See readme for more info)
- Field ID number is now stored in gfRepeaters data. (gfRepeaters[repeaterId]['children'][childId]['idNum'])
- Field input pre-populate value is now stored in gfRepeaters data. (gfRepeaters[repeaterId]['children'][childId]['inputs'][inputId]['prePopulate']) (See readme for more info)
- Plugin now requires Gravity Forms 1.9 or later.
v1.0.5 (11/19/2015)
- Fixed bug where sometimes not all repeated, required fields would be validated.
- Fixed bug where repeated fields that are set to 'adminOnly' would have that setting switched off upon form validation.
- Added support for MultiSelect, Radio, and Time fields.
- Added upgrade function to clean up entries from older versions.
- Repeater field admin label now defaults to 'Repeater' instead of blank.
- All repeated values are now stored as arrays besides special cases such as Section fields.
- Field types are now stored in gfRepeaters data. (gfRepeaters[repeaterId]['children'][childId]['type'])
- Name and Address fields now only require the normally required fields.
- Added plugin page link to row meta.
- A few misc things and code clean up.
v1.0.4 (11/6/2015)
- Fixed bug with number field where a PHP error would show up if a form failed validation.
- Fixed bug where a javascript error would occur if no repeater children were marked as required.
- Fixed bug where a PHP error would sometimes occur on the entries page in the admin panel if a repeated field was submitted blank.
- Added support for Section field type.
- Default validation functions are now bypassed for repeater children.
- gfRepeater-count shortcode now shows up for field titles on the entires page in the admin panel.
- Blank repeated fields now show up if "Show Empty Fields" is enabled.
- Repeater children and repeater end fields no longer display duplicated results on the entries page in the admin panel.
- Added a little bit of backwards compatibility for fetching saved repeater child entry data.
Release Notes:
- The entries page in the admin panel may still display duplicated fields for repeater children and repeater end fields until the form has been updated again. Just go to the edit form page and click "Update Form" to fix this.
v1.0.3 (10/30/2015)
- Fixed bug where repeated fields would look like they failed validation if any repeated fields before them failed.
- Fixed bug with validation on fields with multiple inputs.
- Fixed bugs with form editor and setting repeater children required option.
- Added beforeRepeat, afterRepeat, beforeUnRepeat, and AfterUnRepeat form triggers.
- Added a stylesheet with some default styles for repeater releated stuff.
- Added keypress event and tab index to add and remove buttons.
- Added a little bit of error handing to the javascript just in case the admin forgets to add a repeater-end or trys to nest repeaters.
- Repeater start field label now defaults to blank instead of "Untitled".
v1.0.2 (10/27/2015)
- Fixed bug where if any fields in a form with a repeater in it would be unsubmittable.
- Fixed repeater field validation.
- Added custom validation message feature.
- Added repeater "start" number feature.
- Added repeater label and description options.
- Added custom Add and Remove button HTML feature.
- Added "Do not use add and remove buttons" feature.
- Added new "[gfRepeater-count]" shortcode.
v1.0.1 (10/20/2015)
- Added support for Address, Checkboxes, Name, and Number fields.
- Added View details and GitHub links to row meta.
- Fixed input masks!
v1.0.0 (10/11/2015)
- Initial Release