Releases: RensTillmann/super-forms
Releases · RensTillmann/super-forms
v6.4.003-beta
Apr 24, 2024 - Version 6.4.003-beta
- Added: New [Stripe] tab to configure Stripe checkout, allowing for one time payments and recurring payments.
- Added: New [WooCommerce] tab to configure anything related to WooCommerce checkouts, in the next BETA version Instant Orders will also be implemented under this tab.
- Added: New [Triggers] tab to execute actions based on events that occur on your site, temporarily only supports sending E-mail after form submission for testing purposes.
Actions can be scheduled at specific dates and times, any E-mail reminders will now be located under the [Triggers] tab.
Actions are compatible with the build-in translation system, allowing for more flexibility when it comes to translating. E-mail attachment may also be translatable so you that you can (for example) send different PDF files based on the users language. - Improved: Inline Signature images inside E-mails instead of as an attachment
- Improved: Language switcher state remembered when returning back to form via previous button from Stripe checkout (as an example)
- Improved: When filling out the form in a specific language, when returning via the browser back button to the form, it will remember the language and try to populate with remembered form data (if option is enabled)
- Fix:
{tag;timestamp}
now also works for Timepicker and fields with field type set to[date]
(native browser datepicker) - Fix: When a min date for
Datepicker
element is set, make sure the timestamp (epoch) and any other date naming's are updated on page load - Fix: When dealing with Calculator elements inside a dynamic column, when adding a new row, it should reset the value based on the current row fields
- Fix: Signature inside conditional hidden column render issue
- Fix: Both the
Divider
element and<hr />
tag were not being printed on PDF when Native mode is enabled - Fix: Issue with Calculator element where math that contains regex like {contains*}, {^starts_with_}, {ends_with$} would not be calculated in some scenario's
- Added: hour/minute/second conversion for Calculator element
- Improved: Exclude zero values
0
for WooCommerce emails, PayPal emails and E-mail reminders emails, when the option to exclude empty values is enabled - Fix: Issue where in some scenario's the
Column
element would not close properly which could cause small padding issues - Fix: Bug with displaying
Empty error message
instead of theValidation error message
when validation is set toPhone number
- Fix: Bug allowing you to skip
Address Autocomplete
field by pressingTAB
key without selecting any address - Fix: Bug causing Entry data population to choose multiple dropdown items, example: when the entry value would be
Son
for the dropdown and there would be another dropdown item with valueSon-in-law
it would select both items as selected. - Fix: Some hosting providers might add
.htaccess
files inside all directories for security reasons, skip these when loading Add-ons inside the/add-ons
folder. - Fix: On back-end Contact Entries page, the date filter would not work properly depending on the WordPress
Settings > General > Date Format
setting - Fix: When field type is set to International phone number (int-phone) automatically set the field validation to
Required (not empty)
- Fix: Do not render/display Forms that have been marked as trashed
- Added: Option to create vCards and attach them to Admin and Confirmation E-mails via
Form settings > vCard Attachment
- Added: New
Signature
drawing method for improved device compatibility (Microsoft Surface Pro) - Added: Option to connect Dropdown, Autosuggest, Keyword elements directly with Google Sheets (documentation: form with google sheets dropdown)
- Added: Contact entry export now has an option to export the connected WooCommerce order ID (if any)
- Added: New option for
PDF Generator
to define image quality inside generated PDF file - Added: New option for
PDF Generator
to generate native PDF elements - Added: New option for
PDF Generator
to enable smart page breaks for elements (put the element on the next page automatically when possible) - Added: New action hook
super_before_login_user_action
to allow for instance update user meta data directly before the user logs in - Added: Option to jump to a specific field so that a user can edit it, simply use
#fieldname
on your href attribute like soSummary:<br />First name: {first_name} - <a href="#first_name">EDIT</a>
- Added: Option to define wrapper and or field ID attribute elements, when left blank the default ID will be
sf-wrapper-1234-yourfieldname
andsf-field-582-1-yourfieldname
where582
would be the form ID and1
the form index (if you have multiple forms this will auto increment by one). - Added:
Listings
when editing entries, you can define if the user is allowed to change the entry status, and disallow to change the entry if it already has a specific status - Improved:
Form Settings > Form Settings > Custom redirect URL
can now be translated to redirect to custom pages e.g.https://domain.com/thank-you/
,https://domain.com/de/vielen-dank/
, `https://domain.com/fr/merci-beaucoup/ - Improved: When
native
PDF generation is enabled, add the country flag next to the international phonenumber field - Improved: Scrolling to next focused field or next multi-part. Only scroll when required based on the elements top/bottom positioning compared to window height
- Improved: When using keyboard arrows up/down on radio button do not go to next step automatically when enabled on multi-part
- Improved: Grid/Columns now using flex method
- Improved:
Color picker
element small responsiveness fix - Improved:
PDF page breaks
are calculated after HTML block is updated/changed. Allowing to use the PDF page break html directly inside foreach loops. Example which loops over uploaded files:
foreach(file;loop):
if(<%counter%>!='1'):<div class="super-shortcode super-field super-pdf_page_break"></div>endif;
<img src="<%url%>" style="display:block;width:300px;" />
endforeach;
- Fix: Bug when using the validation option
Allow field to be empty > Yes, but not when the following conditions are met
- Fix: Issue with populating form with entry data in combination with saving existing entry while logged in as non administrator
- Fix: Stripe
Success URL
not working, so that user redirects to a specific thank you page after returning from a completed checkout - Fix: Fix file upload when using ACF Pro Gallery field when saving a custom post via
Front-end Posting
feature - Fix: Signature not populated from
Save form progression
andRetrieve previous entry data
. Also, when retrieved from entry data disallow editing the existing signature. - Fix:
Signature
element, rare bug which caused the canvas to not be full width, which would cut off the signature by 50% - Fix:
<%attachment%>
and<%attachment_id%>
insideforeach
loop inside HTML element should return the file attachment ID not the file name - Fix: Bug with updating existing contact entry and preventing creating a new one when using field name
hidden_contact_entry_id
with Default value set to:{user_last_entry_id}
- Fix: Issue when placing the same form on the same page multiple times, causing the submitted values for Calculator element to be incorrect
- Fix: Toggle element render issue when placing the same form multiple times on the same page
- Fix: Excluding Signature
string attachment
from Admin/Confirmation E-mail - Fix: Issue when dragging elements inside column that are inside an Accordion/TAB element
- Fix: Issue with using
foreach loop
inside E-mails not replacing the tags with field value correctly - Fix: New signature mobile canvas width not adjusting properly
- Fix: Conditional logic conflict with columns that are set to be hidden in some scenario's
- Added: Option to calculate distances between multiple addresses e.g: (between A to B, between B to C and from C back to A)
- Added: Option
Disable browser translation
underTranslations
TAB to disable browsers to translate the form - Added: New predefined tags to retrieve form submission date inside emails:
submission_date_gmt
,submission_hours_gmt
,submission_timestamp_gmt
,submission_date
,submission_hours
,submission_timestamp
- Added:
isset()
and!isset()
methods to check if a field was conditionally hidden/visible. Useful inside HTML elements and E-mails. Example here: (https://renstillmann.github.io/super-forms/#/email-if-statements?id=checking-if-a-field-exists) - Added: Option to add attributes on the listings shortcode to apply hardcoded filters e.g:
[super_listings list="1" id="61602" entry_status="completed"]
would only display entries with statusCompleted
- Added: Extra tags to retrieve date names for datepicker element:
{date;day_name}
,{date;day_name_short}
,{date;day_name_shortest}
,{date;day_of_week}
. This way you can display specific time slots based on a specific week day - Added: Filter logic option
Exact match
for autosuggest feature to filter exactLabel
value for an item - Added: Filter logic case sensitive search
- Added: Form locker option
Do not lock form, but still display a message
to only display a message but still allow user to submit the form even if the threshold was reached. - Added: Option to pre-load conditional logics via Ajax request, to store it into an object on the client side, instead of in the source code. Useful/required when dealing with 500+ conditions
- **Ad...
v6.3.727-beta
Jun 14, 2023 - Version 6.3.727
Super Forms BETA version information
v6.3.3
Jun 09, 2022 - Version 6.3.3
- Added: Option to count words for
Textarea field
with use of tag{fieldname;word}
to count words - Added: Option to count words for
Textarea field
with use of tag{fieldname;chars}
to count characters excluding, carriage return, line-feed (newline), tab, form-feed, vertical whitespace - Added: Option to count words for
Textarea field
with use of tag{fieldname;allchars}
to count all characters including, carriage return, line-feed (newline), tab, form-feed, vertical whitespace - Improved: Do not store
server_http_referrer_session
and/ortags_values
as client data when not needed, which could stress the database on high traffic websites - Improved: Cookie/Session system, in case WP Cron is disabled, make sure we still clear expired client data from the database
- Fix: Bug/Issue with
Avada Builder
when typing in TinyMCE editor it would not update the live view properly - Fix:
Listings
bug fix when leaving role settings empty (did not allow the user to view/edit/delete their own entries)
v6.3
Apr 26, 2022 - Version 6.3.0
- Added: MailPoet v3 settings under
Form Settings > MailPoet Settings
which allows you to subscribe users after they submit the form. Optionally you can mape custom fields to store additional information/date for the user - Added: New option under
Form Settings > Form Settings
calledDisable Multi-part current step parameter in the URL
which prevents the step parameters#step-58731-2
from being added to the URL - Added: New option under
Form Settings > Popup Settings
calledClear form after closing popup
which will reset/clear the form when the popup is being closed, this is especially useful when you are using the same form but populating it with different values when the popup is being opened - Added:
WooCommerce Checkout
Option to conditionally checkout to WooCommerce - Added: Buttons/Icons to reset form settings to it's Default, Last known or Global value. Or to lock the setting to it's global value
- Added: New predefined tag
{option_****}
to retrieve any option from the wp_options database table. If the option is of type Array, you can also filter the sub values by defining a key like so{option_****;arrayKey}
. When the arrayKey is omitted, a json representation of the Array will be returned. - Added: Extra filter logic
Starts with (from left to right)
to filter from start to end instead of "Contains" method for both theAuto suggest
andTags/Keyword
field field - Improved: Cookie/Session system, which allows to filter the expiry and expiration variation values to increase or decrease the lifetime of client data
- Improved:
Register & Login
Option to define custom headers for emails such asVerification
,Approval
andReset Password
E-mails - Improved:
Register & Login
Don't show activation status on profile page in back-end for current logged in user, no need - Improved:
{dynamic_column_counter}
can now be used on field label and description, when used inside a dynamic column - Fix: When using Elementor Popup use
elementor/popup/show
event provided by Elementor v2.7 to initialize the form in case it's not initialized - Fix: When using a multi-language form with
PDF Generator
enabled and theAdd Language Switch
being enabled, the language switch dropdown should not be included in the PDF - Fix: Issue with columns not aligned properly in Safari browser when RTL is enabled
- Fix: When the form is inside a Popup, make sure that scrolling events are applied to the content of the popup and not to the site page itself, for instance when scrolling to the first error, or other similar form scrolling events
- Fix: JavaScript error for Safari browser on iPhone when generating PDF, causing the PDF generation to get stuck/hang on loading/spinner icon
- Fix: Issue with
Print
button on Contact Entry page - Fix: Issue with
Exclude dates or a range of dates
setting for datepickers when being used on multiple datepickers in the form - Fix: An issue since v6.2.200 with dynamic columns where newly columns were inserted after the first column
- Fix:
{dynamic_column_counter}
not correctly counting when used in combination with a dynamic column that has conditional logic enabled - Fix: JavaScript error in older Safari v12 browsers due to
replaceAll()
function not known by the browser, replaced withreplace()
with use ofRegExp()
- Fix: Issue with
Register & Login
when changing user status from Pending to Active in backend - Fix: Issue with
Register & Login
form, when having a login form that allows all user roles, filter array and remove any possible empty values, because this could cause any user to be unable to login - Fix: When setting
Send email confirmation/verification email
toDo nothing
make sure to set user status to 1, since they are not required to confirm their E-mail address, they will still not be able to login in case theUser login status
is set to anything other thanActive
v6.2.201
Mar 04, 2022 - Version 6.2.201
- Fix: An issue since v6.2.200 with dynamic columns where newly columns were inserted after the first column
Feb 24, 2022 - Version 6.2.200
- Improved:
Register & Login
Option to define custom headers for emails such asVerification
,Approval
andReset Password
E-mails - Improved:
Register & Login
Don't show activation status on profile page in back-end for current logged in user, no need - Improved:
{dynamic_column_counter}
can now be used on field label and description, when used inside a dynamic column - Fix:
{dynamic_column_counter}
not correctly counting when used in combination with a dynamic column that has conditional logic enabled - Fix: JavaScript error in older Safari v12 browsers due to
replaceAll()
function not known by the browser, replaced withreplace()
with use ofRegExp()
- Fix: Issue with
Register & Login
when changing user status from Pending to Active in backend - Fix: Issue with
Register & Login
form, when having a login form that allows all user roles, filter array and remove any possible empty values, because this could cause any user to be unable to login - Fix: When setting
Send email confirmation/verification email
toDo nothing
make sure to set user status to 1, since they are not required to confirm their E-mail address, they will still not be able to login in case theUser login status
is set to anything other thanActive
v6.2.0
Feb 22, 2022 - Version 6.2.0
- Improved: Disable the browsers's font boosting and text inflation algorithm by using the
max-height:XXXXXem;
hack, and settingtext-size-adjust:none;
(which is used by some smartphones and tablets, some browsers will still ignore this property) - Improved: Do not load "Roboto" font, because no longer used
- Improved:
Tags/Keyword
elementAdvanced > Max char/selection
blocks user from adding more tags if limit was reached instead of validating on form submission - Improved: Code cleanup
- Fix: When renaming the
Button
name, spaces were being replaced with underscores - Fix: Fix an issue with the
File upload
element when a maximum is set in combination with a user trying to add more files at once via the file explorer - Fix: When deleting a
CSV file
from aDropdown
element it would scroll the user to the top of the page - Fix: In the back-end when defining condtional logic for a field the user was not able to define a
Value
comparison that had the same value as the current field name e.g:DC
field name and having a conditional logic value equals toDC
which should be allowed. However theField name
isn't allowed to point to the current field, so that still needs to be validated - Fix: Redirect message undefined in JS, causing form not redirecting at all
- Fix: Toggle button alignment for
Field label
andField description
- Fix: Issue with WooCommerce Checkout
v6.1.5
Feb 04, 2022 - Version 6.1.5
- Fix: In the back-end when defining condtional logic for a field the user was not able to define a
Value
comparison that had the same value as the current field name e.g:DC
field name and having a conditional logic value equals toDC
which should be allowed. However theField name
isn't allowed to point to the current field, so that still needs to be validated - Fix: Redirect message undefined in JS, causing form not redirecting at all
- Fix: Toggle button alignment for
Field label
andField description
- Fix: Issue with WooCommerce Checkout
- Improved:
Tags/Keyword
elementAdvanced > Max char/selection
blocks user from adding more tags if limit was reached instead of validating on form submission - Improved: Code cleanup
v6.1.0
Feb 01, 2022 - Version 6.1.0
- Added: Predefined
Tags/Keyword
element - Added: Predefined
Autosuggest
element - Added: Option to disable CSRF check under
Super Forms > Settings > Form Settings > Cross-Site Request Forgery (CSRF) check
. This allows a user to submit the form that was loaded via an iframe from a different origin address - Improved: Only load Cyrillic text font for PDF Generator if the option to do so is enabled and if Text rendering is enabled, there is no need to load these fonts otherwise
- Improved: Tags/Keyword field improvements
- Fix: If thousand seperator and decimal seperator was set to the same value, set the thousand seperator to an empty value, since it shouldn't be possible to have the same values, it would throw a JS error and prevent the form from loading
- Fix: Regenerate nonce for sites that use cache
- Fix: When
editing
is enabled for aListings
(Listings Add-on) make sure the styles/scripts are loaded so that normal form functions and styles are applied - Fix: Validate requests made to switch form language by using a custom nonce system
- Fix: PHP parse error when loading a php file used for PHP versions below v8
- Fix: Option
Delete files from server after the form was submitted
wasn't working properly when storing files outside site root (secure file uploads) - Fix: Back-end preview not generating the PDF due to fonts not being enqueued
- Fix: Issue with files not being attached to E-mails when upload directory was setup to be outside the site root (secure file uploads)
- Fix: PHP Warning related to
MailChimp
,Mailster
andPassword Protect
Add-ons - Fix: PHP Warning when calling
file_get_contents()
to load PDF generator fonts - Changed: File upload names are now fully visible when user added a file on the file upload element, they are no longer truncated. If you still want the truncated version you will have to apply custom CSS and and set overflow to ellipsis method
- Changed: By default the
secure
parameter for cookies is now set to true, you can still filter this withsuper_session_cookie_secure
hook if needed - Changed: By default the
httponly
parameter for cookies is now set to true, you can still filter this withsuper_session_cookie_httponly
hook if needed
v6.0.6
Jan 28, 2022 - Version 6.0.6
- Added: Option to disable CSRF check under
Super Forms > Settings > Form Settings > Cross-Site Request Forgery (CSRF) check
. This allows a user to submit the form that was loaded via an iframe from a different origin address - Fix: Regenerate nonce for sites that use cache
- Fix: When
editing
is enabled for aListings
(Listings Add-on) make sure the styles/scripts are loaded so that normal form functions and styles are applied - Fix: Validate requests made to switch form language by using a custom nonce system
- Fix: PHP parse error when loading a php file used for PHP versions below v8
- Fix: Option
Delete files from server after the form was submitted
wasn't working properly when storing files outside site root (secure file uploads) - Fix: Back-end preview not generating the PDF due to fonts not being enqueued
- Fix: Issue with files not being attached to E-mails when upload directory was setup to be outside the site root (secure file uploads)
- Fix: PHP Warning related to
MailChimp
,Mailster
andPassword Protect
Add-ons
v6.0.1
Jan 21, 2022 - Version 6.0.1
- Fix: PHP Warning when calling
file_get_contents()
to load PDF generator fonts