Releases: RensTillmann/super-forms
v6.0.0
Jan 20, 2022 - Version 6.0.0
- Added:
TinyMCEelement, allows you to add HTML by using the WordPress rich text editor. - Added:
HTML (raw)andTinyMCEelements are now treated as fields, meaning they can be retrieved and included inside emails and stored as data inside contact entries. Optionally you can exclude them from being retrieved in your emails and stored as entry data just like all other fields. - Added: Ability to insert dynamic columns inside other dyanmic columns.
- Added: Ability to use
foreach()loop inside other foreach loops insideHTML (raw)elements (this doesn't work directly inside email body settings, so if you need to use this you must use aHTML (raw)element instead), maybe in a future version it will be possible to use it directly in the emails too. - Added: New filter hook
super_csv_bom_header_filterto alter/delete the byte order mark added for Excel compatibility - Fix: Some PHP version 8.0+ warnings
- Fix: Bug with generating invoice numbers on the
Hiddenfield (depending on what settings are defined by the user)
v5.0.200
Dec 09, 2021 - Version 5.0.200
- Added: Option to filter based on form ID when exporting entries to CSV via
Super Forms > Settings > Export & Import - Added: Option to sort by oldest or newest first when exporting entries to CSV via
Super Forms > Settings > Export & ImportandSuper Forms > Contact Enties - Added: Option to define custom delimiter and enclosure when exportin entries to CSV via
Super Forms > Contact Enties - Added: Option for datepicker to use {tags} inside the
Default valuesetting - Added: Option for datepicker to return the year, month, day or the timestamp by calling tags:
{date;year},{date;month},{date;day},{date;timestamp} - Added: Ability to use
{dynamic_column_counter}inside conditional logic and variable conditions, can be used to hide/display elements inside a specific dyanmically added column - Added: Option for hidden field
Unique code generationto define aUnique invoice keywhich allows you to generate multiple invoice numbers. This is useful for when you require both Invoice numbers and Quote numbers - Improved: RTL layout for elements when site uses dir="rtl" on html tag
- Fix: International Phonenumber bug on mobile devices
- Fix: Issue with reCapthca validation when files are being uploaded
- Fix: When using SMTP on WP v5.5+ make sure to include the PHPMailer
Exceptions.phpfile - Fix: Bug with datepicker being cleared upon form submission
- Fix:
PDF Generator Add-onIssue with Cyrillic/Arabic text rendering for PDF file, when copying text it would give you strange characters - Fix:
PDF Generator Add-onPDF Page break sometimes generating white/blank page - Fix: When
Prevent submitting form on pressing "Enter" keyboard buttonis enabled, make sure to still allow line breaks onTextareaelements - Fix: Form settings translation bug
- Fix: HTML element automatic linebreak not working when using {tags} inside the HTML
- Fix: HTML element causing 404 when using {tag} to apply dynamic source tag on images
- Fix: Issue with HTML not being generated when no {tags} are used, due to above 404 bug fix
- Fix: Slider label positioning on theme
minimaland whenadaptive placeholdersare enabled - Fix: Slider amount positioning incorrect when conditionally became visible and when value was the same as last known value
- Fix: JS error
Uncaught ReferenceError: nodes is not defined
v5.0.111
Nov 04, 2021 - Version 5.0.111
- Added: International Phonenumber field
- Added: Option for WooCommerce Checkout Add-on to hide product gallery on single product page so that only the Super Form is visible
- Improved: Improved CSS for dropdown placeholder and radio/checkbox items for compatibility
- Improved: Replace
file_get_contents()withwp_safe_remote_get()for improved security and compatibility accross hosting providers - Fix: Issue with PDF Generator and Visual Compose/WP Bakery builder when form is inside a Accordion element
- Fix: Slider amount/label update positioning based on default value after becoming conditionally visible, or when inside tab/accordion
- Fix: JS error in back-end builder with renaming field names automatically to avoid duplicate field names
- Fix: JS error in firefox for focusin method and missing
e.target.closestfunction - Fix: JS error with file uploads
- Fix: Text field
keyword fieldmethod not working with retrieve methodSpecific posts (post_type) - Fix: Slider element default value positioning for amount label not correctly aligned
- Fix: JS error with Radio/Checkbox as Display Layout: Slider (Carousel)
- Fix: Bug with multiple file upload elements that would skip uploading files when last element was not containing any files
- Fix: Make sure rand() function only passes a max int value to avoid overflow on 32 bit systems
- Fix: Conditional logic not properly working upon page load
- Fix: When no files are selected for upload skip the request to try upload files (no need to do this)
- Fix: Bug fix for conditional logic with Calculator element
v5.0.020
Oct 15, 2021 - Version 5.0.020
-
Added:
Listings Add-ondisplay entries on front-end, more info here (https://renstillmann.github.io/super-forms/#/listings-add-on) -
Added: New element
HTML Elements > PDF Page Breakfor PDF Generator Add-on, which allows you to start a new page after a specific element. You can also switch between orientationPortraitandLandscapeif needed. -
Added: New file upload system, file upload element will now display image/document in thumbnail preview before it's being uploaded to the server, they will also be visible in the generated PDF
PDF Generator Add-on -
Added: New tags for file upload element, can be used inside HTML element on front-end and inside E-mail body
{fieldname}(retrieve list with file name(s)){fieldname;count}(retrieve total amount of files connected to this file upload element){fieldname;new_count}(retrieve total amount of files that are yet to be uploaded){fieldname;existing_count}(retrieve total amount of files already/previously uploaded){fieldname;url}(retrieve file "blob" or "URL"){fieldname;size}(retrieve file size){fieldname;type}(retrieve file type){fieldname;name}(retrieve file name){fieldname;ext}(retrieve file extension){fieldname;attachment_id}(retrieve file ID after file has been uploaded when form is submitted){fieldname;url[2]}(retrieve specific file data, this example retrieves the third file URL if it exists based on array index){fieldname;allFileNames}(retrieve list with all file names, it's possible to filter this list with filter hook:super_filter_all_file_names_filter{fieldname;allFileUrls}(retrieve list with all file URLs, it's possible to filter this list with filter hook:super_filter_all_file_urls_filter{fieldname;allFileLinks}(retrieve list with a link to the file, it's possible to filter this list with filter hook:super_filter_all_file_links_filter
-
Added: Compatibility for file upload with
foreachloop inside HTML element and E-mail body example:foreach(fileupload_field_name_here;loop): <strong>Name (<%counter%>):</strong> <%name%><br /> <strong>URL (<%counter%>):</strong> <%url%><br /> <strong>Extension (<%counter%>):</strong> <%ext%><br /> <strong>Type (<%counter%>):</strong> <%type%><br /> <strong>ID (<%counter%>):</strong> <%attachment_id%><br /> endforeach;
-
Added: New option under global settings
Super Forms > Settings > WooCommerce My Account Menu Itemsto add custom menu items with custom content/shortcode or a custom URL to redirect to a custom page. This allows you to display any extra content for the/my-accountpage. For instance you could list contact entries with the use of theListings Add-onon theMy Accountpage. Since you can use shortcodes you could also use it for other usecases that are not even related to Super Forms. -
Added: Option to override form settings via shortcode attribute e.g:
[super_form id="54903" _setting_retrieve_last_entry_data="false"]would override the option defined underForm Settings > Form Settings > Retrieve form data from users last submission. This allows you to have a single form to maintain while having seperate forms with slightly different settings/options defined. If you don't know thekeyof a settings just submit a ticket. But most settings can be found in the fileincludes/class-settings.php -
Added: Option to define colors for Dropdowns via
Form Settings > Theme & Colors -
Added: Option to define colors for Tooltips via
Form Settings > Theme & Colors -
Added: Option to define colors for Calculator element (Calculator Add-on) via
Form Settings > Theme & Colors -
Added:
{user_last_entry_status_any_form}tag to retrieve the latest contact entry status of the logged in user for any form -
Added:
{user_last_entry_id_any_form}tag to retrieve the latest contact entry ID of the logged in user for any form -
Added: New filter hook
super_attachments_filterto alter/add/delete the email attachments -
Added:
MailChimp Add-onescape html in output message and replace psuedo after/before elements with normal DOM element -
Added: New tags to be used inside E-mails
{_generated_pdf_file_label},{_generated_pdf_file_name},{_generated_pdf_file_url}allows you to retrieve the Generated PDF url so you can create a button that links to the file for download -
Added: New actions
Prev/Next Multipart/StepforButtonelement to have more control over when to show the Previous / Next buttons in a multi-part element. -
Added: New filter hook
super_form_enctype_filterto alter the form enctype attribute which defaults tomultipart/form-dataadd_filter( 'super_form_enctype_filter', 'f4d_change_enctype', 10, 2 ); function f4d_change_enctype($enctype, $attr){ return 'application/x-www-form-urlencoded': }
-
Improved: Created a new Tabbing system (TAB/Shift TAB) to navigate through all elements properly and allow to select/deselect items such as radio/checkbox/dropdown items
-
Improved:
Front-end posting Add-on- create connection between created post and contact entry by storing the ID as meta data -
Fix:
PDF Generator Add-onoption to exclude generated PDF from contact entry not working -
Fix: When switching language through language switcher, preserver URL parameters so that the form is populated with data after switching language
-
Fix:
Front-end Register & Login Add-onwhen using language switcher, make sure thecodeparameters is preserverd (for account/email verifications) -
Fix:
Front-end Posting Add-onissue with saving google map data for ACF map field -
Fix:
Signature Add-onfix issue when clicking on canvas would create a vertical line instead of a small dot -
Fix:
WooCommerce Checkout Add-onissue withExternal/Affiliate productURL being reset to the product permalink -
Fix:
WooCommerce Checkout Add-onbug with shortcodes of other plugins not being able to list/retrieve products due to a bug in the new setting optionSuper Forms > Settings > WooCommerce Checkout > Hide products from the shop -
Fix:
Zapier Add-onuse numbered index instead of filenames as index for the array, otherwise you would not be able to map/retrieve the file within zapier interface -
Fix: Possible RCE (Remote Code Exectuion) vulnerability in old file upload system (doesn't affect most servers, but it's recommended to update to the latest version anyway)
v5.0.0-beta
Aug 26, 2021 - Version 5.0.0 (BETA)
- Added:
Listings Add-ondisplay entries on front-end, more info here (https://renstillmann.github.io/super-forms/#/listings-add-on) - Added: New file upload system, file upload element will now display image/document in thumbnail preview before it's being uploaded to the server, they will also be visible in the generated PDF
PDF Generator Add-on - Added: New option under global settings
Super Forms > Settings > WooCommerce My Account Menu Itemsto add custom menu items with custom content/shortcode or a custom URL to redirect to a custom page. This allows you to display any extra content for the/my-accountpage. For instance you could list contact entries with the use of theListings Add-onon theMy Accountpage. Since you can use shortcodes you could also use it for other usecases that are not even related to Super Forms. - Added: Option to override form settings via shortcode attribute e.g:
[super_form id="54903" _setting_retrieve_last_entry_data="false"]would override the option defined underForm Settings > Form Settings > Retrieve form data from users last submission. This allows you to have a single form to maintain while having seperate forms with slightly different settings/options defined. If you don't know thekeyof a settings just submit a ticket. But most settings can be found in the fileincludes/class-settings.php - Added: Option to define colors for Dropdowns via
Form Settings > Theme & Colors - Added: Option to define colors for Tooltips via
Form Settings > Theme & Colors - Added: Option to define colors for Calculator element (Calculator Add-on) via
Form Settings > Theme & Colors - Added:
{user_last_entry_status_any_form}tag to retrieve the latest contact entry status of the logged in user for any form - Added:
{user_last_entry_id_any_form}tag to retrieve the latest contact entry ID of the logged in user for any form - Added: New filter hook
super_attachments_filterto alter/add/delete the email attachments - Added:
MailChimp Add-onescape html in output message and replace psuedo after/before elements with normal DOM element - Added: New tags to be used inside E-mails
{_generated_pdf_file_label},{_generated_pdf_file_name},{_generated_pdf_file_url}allows you to retrieve the Generated PDF url so you can create a button that links to the file for download - Improved: Created a new Tabbing system (TAB/Shift TAB) to navigate through all elements properly and allow to select/deselect items such as radio/checkbox/dropdown items
- Improved:
Front-end posting Add-on- create connection between created post and contact entry by storing the ID as meta data - Fix:
PDF Generator Add-onoption to exclude generated PDF from contact entry not working - Fix: When switching language through language switcher, preserver URL parameters so that the form is populated with data after switching language
- Fix:
Front-end Register & Login Add-onwhen using language switcher, make sure thecodeparameters is preserverd (for account/email verifications) - Fix:
Front-end Posting Add-onissue with saving google map data for ACF map field - Fix:
Signature Add-onfix issue when clicking on canvas would create a vertical line instead of a small dot - Fix:
WooCommerce Checkout Add-onissue withExternal/Affiliate productURL being reset to the product permalink - Fix:
WooCommerce Checkout Add-onbug with shortcodes of other plugins not being able to list/retrieve products due to a bug in the new setting optionSuper Forms > Settings > WooCommerce Checkout > Hide products from the shop - Fix:
Zapier Add-onuse numbered index instead of filenames as index for the array, otherwise you would not be able to map/retrieve the file within zapier interface - Fix: Possible RCE (Remote Code Exectuion) vulnerability in old file upload system (doesn't affect most servers, but it's recommended to update to the latest version anyway)
v4.9.800
Mar 16, 2021 - Version 4.9.800
- Added:
WooCommerce Checkout Add-onoption underSuper Forms > Settings > WooCommerce Checkoutto exclude products the shop so that they can only be ordered via the form - Added:
WooCommerce Checkout Add-onoption underSuper Forms > Settings > WooCommerce Checkoutto replace the default "Add to cart" section with a specific form - Added:
Signature Add-onOption to set signature line color - Added: Options to define the
regionandlanguagefor the Googla Maps API. This will affect theGoogle Mapelement,Address autocompleteandDistance calculationfeatures - Added: Option to use
{tags}forTime pickersettingsThe time that should appear first in the dropdown list (Minimum Time)andThe time that should appear last in the dropdown list (Maximum Time)which makes it possible to retrieve a "manipulated" timestamp which could for instance be set 6 hours in the future based on the current time. This can be used in combination with theCalculator Add-ondemo form available here: Dynamic time picker that is always 6 hours in the future - Added: New option for column element
Align inner elementswhich allows you to center, left, right align directly inner elements - Added: New
Retrieve methodcalledCurrent Page or Post termsfor dropdown, radio, checkboxes to retrieve specific taxonomy terms based on the current page/post the form is on - Added: Predefined tags
{post_term_names_****},{post_term_slugs_****},{post_term_ids_****}. This way you can retrieve specific terms based on taxonomy. For instance to retrieve category names of a post you could use{post_term_names_category} - Added: When
Prevent submitting form when entry title already existsis enabled there is an extra option calledAlso compare against trashed contact entrieswhich allows you to also check against possible trashed contact entries - Added:
Calculator Add-onoption to use space for Decimal and Thousand seperator underAdvancedtab - Improved: Add missing escaped attributes
- Fix: PDF Generator Add-on fix for iPhone specifically, psuedo elements
:after,:beforenot being generated - Fix: When using google address autocomplete field, the value was not being displayed on the entry page in the back-end
Super Forms > Contact Entry - Fix:
Signature Add-onChanging signature line thickness not working - Fix: Some hosts use a firewall rule that didn't allow to upload files due to it being uploaded inside a folder called
uploadsandfiles(uploads/php/files). This is now changed to (u/f) which solves a 403 error returned by the host - Fix: JavaScript error when using Google Map in combination with PDF Generator Add-on
- Fix: Undo code that would speed up form loading time when using a lot of HTML elements with tags, however this code caused issues when using variable fields. Temporarily disabled / undo the code until we find a work-around or alternative
- Fix: A recent speed improvement in the code caused issues with variable fields that contains more than one {tag} as value. Only the first {tag} would be replaced with a value, skipping any other {tags}. - Fix: Arbitrary File Upload to Remote Code Execution
- Fix: When saving contact entry with default title, make sure there is a space between the entry ID and the title
v4.9.701
Jan 29, 2021 - Version 4.9.701
- Fix: Fix typo
- Fix: Typo
fromshould beform, causing issues with PDF generator when usingCurrencyfield together withCalculatorelement - Improved: Time picker element now uses WP core
current_time()function whenReturn current time as default valueis enabled to get time with the GMT offset in the WordPress option. - Improved: Contact entry search will also trigger when "copy/pasting" text into the input field on mobile devices
- Added: Back-end translations:
- Afrikaans
- Arabic
- Bengali (Bangladesh)
- Czech
- Danish
- Dutch
- French (Canada)
- French (France)
- German
- Gujarati
- Hindi
- Hungarian
- Indonesian
- Italian
- Japanese
- Javanese
- Kannada
- Korean
- Marathi
- Norwegian (Nynorsk)
- Persian
- Polish
- Portuguese (Portugal)
- Punjabi
- Russian
- Spanish (Spain)
- Swahili
- Swedish
- Tamil
- Telugu
- Thai
- Turkish
- Urdu
- Vietnamese
- 香港中文版
- 繁體中文
- 简体中文
v4.9.600
Jan 19, 2021 - Version 4.9.600
- Added: Option to prevent saving contact entry if a contact entry with the same title already exists, more info here:
- Added:
MailChimp Add-onoption to unsubscribe users by settingSend the Mailchimp confirmation emailtoNoand settingSubscriber status after submitting the formtoUnsubscribed - Improved: Form loading speed when using many HTML elements that contain many {tags}. Super Forms now remembers tag values and will not re-process these if they haven't changed since. This speeds up the loading speed significantly for forms that are using many HTML elements with many {tags}
- Fix: When
Enable form POST methodis enabled in combination withEnable custom parameter string for POST methoddo not storeThank you messageinto a session, otherwise it would be displayed twice when user navigates to a different page. - Fix: When using multiple google address autocomplete elements in a form they would conflict with each other.
v4.9.584
Jan 14, 2021 - Version 4.9.584
- Added: Option to add field {tags} inside the
Default valuesetting, which would populate it on page load with the value from that field value. Previously you could only use predefined tags. - Added:
Calculator Add-onoption to directly retrieve predefined tags inside math, e.g: to retrieve current year, month or price of current WooCommerce product etc. - Added: Option to set separate error messages for validation error or empty field
Validation error message,Empty error messagemore info here: - Fix: Bug with
Dateelement when settingAllow user to choose a maximum of X datesto anything higher than1causing it to switch to current month e.g when choosing 2 dates in monthFeb, it would switch back to monthJan - Fix: Issue with dragging elements in Accordion element
- Fix: Back-end settings CSS fix
v4.9.580
Jan 12, 2021 - Version 4.9.580
- Added: Option to map the so called
Formatted address (full address)for Google address autocomplete - Added: Option for Contact entry search to return contact entry status, ID and Title by adding fields named
hidden_contact_entry_status,hidden_contact_entry_idorhidden_contact_entry_title - Added:
WooCommerce Checkout Add-onoption to update Contact Entry status after WooCommerce order completed - Added: Option for google address autocomplete to return
The place's name,Formatted phone number,International phone numberandWebsite of the business - Improved: Google address autocomplete now also returns
Cityif mapped aspostal_townand orsublocality_leve_1see: [Maps JavaScript API documentation](https://developers.google.com/maps/ documentation/javascript/examples/places-autocomplete-addressform) for more info - Improved: When translating form make sure to only display settings that the main language field uses
- Improved: When using google autocomplete the code will now determine what data is being used in your form, and strip out any unnecessary data from the API request which could considerably reduce costs
- Improved: Focus/Filled status for currency field
- Fix: JavaScript error on currency field when
Number formatcontained space(s) - Fix: Builder UI scrolling bug in Firefox browser causing a continues scroll
- Fix: When selecting default items for
Dropdownelement it would still display the placeholder instead of the actual selected item - Fix: US States element contained some incorrectly sorted items by alphabet
- Fix: Issue with SMTP on older PHP versions due to WordPress moving the class to a different location
- Fix: PHP Notice