Formie 2.x is on version 2.1.20
, released on June 27, 2024
Released June 27, 2024
Added sourceType
for all integration custom fields to check against the provider-defined field type.
Added Company mapping support for HubSpot CRM integration.
Changed the default state of “Include in Email Notifications” for fields to be true
.
Fixed an error with some fields when enabling content encryption.
Fixed Pipedrive integration for "Multiple Options" (set) fields.
Fixed server-side validation for Phone fields on Ajax-based forms not showing correctly.
Fixed an error with Element integrations when mapping to an element select field type on the resulting element.
Fixed Phone field validation for empty state.
Fixed a typo in Turnstile appearance settings.
Fixed Address field country values not showing correctly when editing a submission in the control panel.
Fixed Name field Prefix not using the label for its content.
Fixed Name fields not using their full name value for Summary fields.
Released June 15, 2024
Added support for new Klaviyo integrations due to API changes.
Added support for Calculations field when used in field conditions.
Added appearance settings to Turnstile captcha. (thanks @jmauzyk).
Calculations fields can now reference other Calculations fields.
Improved handling of spam, deleted, and agent contacts for Freshdesk integration. (thanks @jmauzyk).
Fixed default values for fields not being trimmed of whitespace.
Fixed some variables not supporting env variables in Email Notifications.
Released May 31, 2024
Fixed an error when submitting a form and manipulating the goingBack
param.
Fixed an error when testing email notifications from a Stencil.
Released May 29, 2024
Ensure that sessions exists when calling formie/forms/refresh-tokens
.
Fixed element integrations update matching logic where matched data is empty.
Fixed populateFormValues
values and dynamic Twig.
Fixed an error with Phone number fields and countryCode
.
Fixed an error with Phone number fields and countryName
.
Released May 27, 2024
Phone fields now include countryCode
and countryName
in their value when the value is JSON.
Removed unused e.target
from Repeater addRow()
JS function.
Updated English translations.
Updated reCAPTCHA Enterprise’s Secret API Key plugin setting.
Fixed Entry element integrations not using their section’s default entry status when enabled
wasn’t mapped.
Fixed country-enabled Phone fields not having their generated value set correctly.
Released May 20, 2024
Fixed an error with options fields where the incorrect ID was being generated when an option value contained special characters.
Fixed an error when querying submissions by userId
and not just a single ID.
Fixed options-based fields not trimming their option value.
Released May 08, 2024
Added disabled
property to GraphQL Dropdown field interface
Added Formie::EVENT_MODIFY_TWIG_ENVIRONMENT
event to modify the Twig Sandbox for variable parsing.
Added Variables::EVENT_REGISTER_VARIABLES
event to register your own.
Fixed an error when using dynamic Dropdown options
Fixed a PHP 8 error.
Fixed paths for Craft Cloud. (thanks @timkelty).
Fixed Repeater fields not retaining their values correctly.
Fixed Form export (from the Form element index) not using custom Formie export logic.
Fixed Name and Address sub-field conditions not working correctly.
Fixed an error when importing forms, where custom field content existed while the custom fields themselves didn’t.
Fixed Group/Repeater field conditions not working correctly when complex rules were created.
Released Apr 27, 2024
Improved German translations. (thanks @MoritzLost).
Updated non-English translations to include latest strings.
Updated English translations to include latest strings.
Fixed an error where renderOptions
weren’t available to field templates.
Fixed duplicated heading text for Heading fields when viewing a submission in the control panel.
Fixed an error with Flatpickr and live client-side validation.
Fixed Element integrations not working correctly for non-updating elements.
Fixed Address field default country not working correctly.
Released Apr 18, 2024
Added more missing translation strings.
Added full error for reCAPTCHA captchas when failing to initialize.
Added the ability for Submission::setStatus()
to accept the handle of a status.
Added the ability to set the captcha type for reCAPTCHA Enterprise.
Added Google Console API Key for reCAPTCHA Enterprise.
Added Referer, User Agent and User IP headers for reCAPTCHA Enterprise requests.
HubSpot forms are now listed in alphabetical order.
Fixed formatting for German translations. (thanks @MoritzLost).
Fixed spelling and style issues in German translations. (thanks @MoritzLost).
Fixed an error with File Upload fields within Repeater fields for GraphQL.
Fixed User variables not working in Email Notification previews.
Fixed "Manage all forms" permission.
Submission UIDs when used in Email Notifications now show a generated value in preview.
Released Apr 15, 2024
Added missing form builder translation strings.
Fixed a Formie 1 migration where fields contained an underscore, and were affected by synced field issues in need of fixing.
Fixed a PHP 8.2 deprecation.
Fixed populating Group fields not working consistently.
Fixed Repeater and Group fields not working correctly for multi-page forms.
Fixed limited users permissions for forms not working correctly.
Fixed an error with Stripe creating a plan for subscription payments.
Fixed Internal fields showing in the form builder for non-English languages.
Released Apr 10, 2024
Added FieldInterface::subfieldLabelPosition
for GraphQL.
Fixed Opayo payments not sending customer email address.
Fixed Phone fields default value not working.
Fixed “All Fields” and similar summary variables causing invalid HTML in some email clients for email notifications.
Fixed Solspace Calendar element integration incorrectly matching existing elements from other entry types.
Fixed Entry element integration incorrectly matching existing elements from other entry types.
Fixed compatibility with Solspace Calendar 5.x.
Fixed consent field values for Campaign Monitor.
Fixed an error for Checkboxes fields when the “Toggle Checkbox” was included.
Fixed multi-name fields not showing correctly in email notification previews.
Fixed data-field-type
attribute being incorrectly translated for fields.
Fixed JS event listeners being attached multiple times for some integrations when calling Formie.initForms()
multiple times.
Fixed front-end JS throwing an error in some circumstances.
Fixed an error when populating Group/Repeater field values.
Released Mar 29, 2024
Fixed a dependency error with verbb/base
version.
Fixed user permissions being incorrect for view submissions in the control panel.
Fixed an error when populating Table fields.
Released Mar 29, 2024
Added “Source” to Klaviyo Email Marketing integration.
Added support for additional SugarCRM fields.
Added the ability for cosmetic fields (Heading, HTML, etc) to be included in email notifications.
Added the ability to map to HubSpot Hidden fields.
Remove Section and Summary fields from rich text editor and variable picker options.
Fixed Opayo and 1017
error responses.
Fixed Algolia and Google address provider templates.
Fixed Table fields not populating properly with populateFormValues()
and allow usage of the column handle
.
Fixed Date/Time columns in Table field with timezone information when editing a submission in the control panel.
Fixed Salesforce DateTime fields throwing an error.
Fixed renamed theme config keys for some fields (wait until Formie 3).
Fixed success/error messages containing paragraph tags not displaying correctly for Ajax-based forms.
Fixed field and integration handles using the translated class name when they shouldn’t.
Fixed cosmetic field handles not working correctly for non-English-default installs.
Fixed a translation error in the control panel when the users language or site is set to German.
Fixed some integrations throwing errors when the control panel language was set to non-English.
Released Mar 18, 2024
Added the ability to query SentNotification
elements by submissionId
and notificationId
.
Added “Subscribe Status” mapping option to ActiveCampaign integrations.
Added ModifyFieldIntegrationValueEvent::rawValue
.
Added German Translations. (thanks @alexanderloewe).
Repeater/Group new-row templates now have spaceless HTML to take up less space in the page source.
Update Monday integration mutation to latest API compatibility.
Updated Form Template directories setting to auto-complete directories, not single templates.
Fixed an error when viewing Stripe subscriptions in the control panel.
Fixed failed Opayo 3DS payments creating a new payment model instead of updating the pending payment.
Fixed Slack/Trello integration messages not including paragraph nodes.
Fixed success/error/other form messages not including paragraph nodes.
Fixed a reactivity issue when editing notifications, causing values to not always save.
Fixed Slack webhooks not sending.
Fixed Checkboxes/Radio field preview for horizontal layout and overflow.
Fixed general errors, manually set to a submission’s form
attribute not showing on the front-end.
Fixed Theme Config not working correctly when supplying attributes with empty values (to output just the attribute like readonly
or disabled
) on elements.
Customer information is now included for single Stripe payments.
Fixed an error when rendering Payment fields with an invalid Payment integration.
Fixed incorrect value when mapping to a Date field in HubSpot.
Fixed formie
translations not working correctly (defaulting to English) when there is a non-English primary site, and content has been written in non-English.
Fixed scroll-offset calculation when scrolling to the top of a form.
Fixed incorrect value when mapping to a Date field in HubSpot.
Released Mar 03, 2024
Added “Full Name” to User Element integration mapping.
Changed all instances of dynamic Twig to use safe, sandboxed environment to protect against potential security issues.
Fixed an issue with File Upload fields with a custom filename format not working in a Repeater field.
Fixed layout issues when editing a submission via a Submissions element select field in other elements.
Released Feb 21, 2024
Updated Formie 3 layout prep.
Fixed an error with Opayo integration.
Fixed payment integrations’ getFieldSetting()
not always returning a default value.
Fixed an error with Stripe payments where a correct ID was not being generated.
Released Feb 17, 2024
Added status
, statusId
and siteId
to Submission query arguments for GraphQL queries.
Added missing translations for some strings.
Added redirectCallback
to onAfterFormieSubmit
JS event.
Added redirectTarget
to onAfterFormieSubmit
JS event.
Added exportVersion
to form exports.
Added support for headlessMode
mode for integration redirectUri’s.
Added data-fui-field-count
attribute to row
, subFieldRow
, and nestedFieldRow
theme config elements.
Update Sent Notifications to use TEXT
database column types for some values like cc
and bcc
.
Update Dompdf 2.0.4+.
Replace deprecated utf8_encode
function with mb_convert_encoding
.
Fixed ajax-based, multi-page forms with File Upload fields creating duplicate assets.
Fixed an error when importing forms, set to “create” where there was a conflicting UID for an existing form.
Fixed changing the submissions status not persisting in the control panel element index view.
Fixed sub-field fields not showing custom error messages for required validation.
Fixed an error when calling populateFormValues()
with Repeater fields.
Fixed lack of error logging for populateFormValues()
.
Fixed when creating a new form, and an error occurs, the selected stencil not persisting.
Fixed order of operations when uninstalling the plugin.
Fixed uninstall not removing some database tables.
Fixed an error saving notifications with long names.
Fixed submissions processing payments when flagged as spam.
Fixed HTML field outputting invalid labels.
Fixed progress bar not updating when going back to first page.
Released Jan 25, 2024
Improved performance of email notification content parsing for complex fields, and fix Slack integration when rendering complex fields in their rich text message.
Fixed hcaptcha executing captcha multiple times, and not working correctly for submitted forms (if filling out the form again).
Fixed saving a new form with a UID already in place, not working correctly.
Fixed import/export of forms not respecting UIDs of forms or notifications.
Fixed an error when showing spam error messages on the front-end.
Fixed element fields not working correctly when pre-populating the value for multi-page forms.
Fixed .env variable support for email notifications not working correctly.
Fixed rich text editor “link to an asset” not working correctly.
Fixed craft.formie.populateFormValues
not sanitizing potentially harmful strings.
Released Jan 16, 2024
Added “Page Count” to form conditions when making custom form sources.
Added Formie 3 migration prep for field layout changes.
Fixed payment fields not filtering out currency symbols for dynamic values.
Fixed validation error for Address field Zip subfield not showing correctly for Ajax forms.
Fixed label position “hidden” not working work Date fields.
Fixed label position “hidden” not working work Checkboxes fields.
Fixed an error when sending an email with non-lowercase values for some mailers.
Fixed a new formId
being created when calling renderFormCss/Js
.
Fixed an error for Entry element integrations and setting the authorId
to a field value.
Fixed submissions index not working correctly in some instances.
Fixed “Include in Email” field setting for Single-Line Text fields to “Settings” tab.
Fixed ModifyFieldUniqueQueryEvent
error.
Fixed submit methods toggling not working correctly in some instances.
Fixed autoloading for ModifyFieldUniqueQueryEvent
class.
Released Dec 29, 2023
Fixed a migration error with generating notification handles.
Fixed custom error messages for field being applied for every error (not just for required value failures).
Released Dec 27, 2023
Added the ability to set the label and value for Address field Country sub-field dropdown options.
Added populateAddress
JS event for Google Address provider to modify field-population when an address is found.
Added the ability to set a min/max number of options to pick for a Checkboxes and multi-Dropdown field.
Added support for Freeform migration with form handles containing invalid characters. Formie will try and rename to a valid handle.
Added fui-tab-complete
class to tabs previous to the active one on the front-end.
Added page count to form element index, and the ability to query forms via their pageCount
.
Added support for unique values for Single-Line Text, Multi-Line Text and Number fields.
Added note to data retention form setting on garbage collection.
Added “Visibility” settings to Agree fields.
Added the ability to set a submission as spam when editing it in the control panel.
Added info tooltips to email notifications for deliverability gotchas.
Added description
field setting for Summary field, to control the heading text at the top of the field.
Added before
and after
options to the formie/submissions/delete
console command.
Added before
and after
element query params for submissions.
Added “Opt-in” field to all integrations.
Added “User Email” to email variable pickers.
All fields now have the ability to be excluded from the “All Fields” variable for email notifications.
Submission index chart now shows the same submissions in the table view, and provides a consolidated date range filter.
Revamped submissions index chart to be more performant.
Changed “Configure Import” text to “Review Import” for Import/Export page.
Fixed front-end alert compatibility with Theme Config for alerts, for ajax-driven forms.
Fixed formatting buttons not appearing at the top-level of a rich text editor instance.
Fixed custom error messages for field being applied for every error (not just for required value failures).
Fixed orphaned field cleanup not working for Repeater/Group nested fields.
Fixed Zip/Postal Code ordering for Address fields in control panel to match what’s produced on the front-end.
Released Dec 26, 2023
Added setOnlyCurrentPagePayload
to force only saving the current page’s fields for performance.
Added isAvailable
to FormInterface for GraphQL.
Added displayType
for element fields for GraphQL queries.
Added data-placeholder
on Pell editor to support placeholder on Rich Text fields. (thanks @IrateGod).
Switch Hidden field hasLabel
to theme config output for form builder label.
Hidden fields now no longer output a label.
Fixed populated Repeater fields not working correctly for multi-sites.
Fixed a JS error with Formie.refreshFormTokens
when importing Formie’s JS in your own JS files.
Fixed limit submissions check for GraphQL.
Fixed validation messages not showing for Opayo payments.
Fixed lack of autocomplete attributes for Opayo payment fields.
Fixed Repeater/Group inner fields incorrectly being shown as able to have conditions set on the same field.
Fixed initial fields in Group/Repeater fields not being marked as isNested
.
Fixed cache-clearing for CSRF/Captchas not working correctly for multi-page forms.
Fixed options fields (Radio, Checkboxes, Dropdown) defaults not working in Group/Repeater fields.
Fixed setOnlyCurrentPagePayload
.
Fixed onFormieSubmitError
JS event not containing the server response.
Released Dec 12, 2023
Improve error message when failing to save a form.
Fixed an error when creating new forms.
Released Dec 12, 2023
Added afterInit
JS event to Multi-Line Text fields that have the rich text editor enabled.
Added beforeInit
JS event for Multi-Line Text fields that have the rich text editor enabled.
Added aria-live=“polite”
and aria-atomic=“true”
to error messages on the front-end.
Added modifyQueryParams
event for PayPal.
Changed finalise
to finalize
for PayPal message.
Changed fui-sr-only
for hidden label position to use data-fui-sr-only
instead of class, for Theme Config compatibility.
Updated Multi-Line field, Rich Text editor to support placeholder attribute. (thanks @IrateGod).
Fixed an error for Products and Variants fields when checking for Commerce being installed, when the fields are initialized too early.
Fixed File Upload assets within Repeater or Group fields not being deleted according to their submission data retention settings.
Fixed an error when a stencil’s email notification contained an attached asset.
Fixed lack of enter key accessibility for sent notification and submission modals in the control panel.
Fixed an error when form message settings contained emoji’s.
Fixed setting elementQuery via templates not overwriting Element fields.
Fixed an issue when a PayPal payment field was toggled by conditional rules.
Fixed an issue using populateFormValues
for Repeater fields.
Fixed an error when mapping Group fields to some integrations when no value is present.
Fixed an error when updating queue job information cache for integrations.
Released Nov 26, 2023
Added page and row reference to fields.
Allow Stripe metadata to pull data from other fields in the form.
Fixed option fields (Dropdown, Checkboxes, Radio Buttons) having an incorrect column length when no options were provided (for dynamic options).
Fixed handling of token errors for integrations.
Fixed an error with validating Address fields.
Fixed Brevo templateId
parameter type.
Fixed field labels not being rendered when set to position hidden.
Fixed interest categories not being shown correctly for Mailchimp.
Released Nov 09, 2023
Added Element::EVENT_MODIFY_ELEMENT_FIELDS
event for element integrations.
Fixed incorrect File Upload validation translation message for min/max filesize.
Fixed lack of proper check for integration response when manually triggering an integration from a submission in the control panel.
Fixed Honeypot captcha when refreshing cached tokens and improve logging.
Released Nov 05, 2023
Changed checkbox checked state to use checked
not checked=“true”
.
Fixed PDF template filename format not persisting when saved.
Fixed Checkboxes not being reset after submitting a form.
Fixed Table field not normalizing cell values properly.
Fixed an error with File Upload fields introduced in 2.0.40.
Released Nov 02, 2023
Updated Brevo integration to include templateId
and redirectionUrl
for Double-Optin.
Fixed GraphQL mutations for multiple File Upload fields.
Fixed honeypot captcha trigger unload warnings when using cache-busting JS.
Fixed GraphQL mutations for multiple File Upload fields.
Fixed an error with binding events to JS multiple times not working correctly when required (for conditions).
Fixed Duplicate captcha causing unload warnings.
Released Oct 25, 2023
Added “Reply-To Name” setting for email notifications.
Added “Webhook URL” as setting for Webhook integration when querying via GraphQL.
Added autocomplete=“name”
to single Name fields.
Added language options to Friendly Captcha.
Added double-optin setting for Brevo integration.
Added checks to Formie JS to protect against multiple-initialization of the same form.
Added better handling for destroying an initialize form in JS.
Added initJs
to render options for forms, to prevent auto-initializing of Formie’s JS.
Added Formie.refreshForCache
to simpiify statically-cached forms and token refreshing.
Added missing {startTag}{num}{endTag}
non-plural translation strings.
Added “Reply-To Name” setting for email notifications.
Added FORMIE_SECURITY_KEY
.env variable (based off CRAFT_SECURITY_KEY
or SECURITY_KEY
for maintaining a separate key for encrypting field values.
Added “Webhook URL” as setting for Webhook integration when querying via GraphQL.
Move .fui-btn *
CSS rule from theme to base CSS to handle inner elements of buttons not triggering the correct submit behaviour
Ajax-based forms now automatically fetch tokens (CSRF, captchas) after a successful form is submitted
Implement Element::trackChanges()
for Blitz compatibility
Fixed a PHP 8 deprecation notice.
Fixed an error for Dropdown fields when toggling between options being an optgroup and not.
Fixed widget charts for line/pie charts.
Fixed an error when creating dashboard widgets for submissions.
Fixed Friendly Captcha triggering unload warnings.
Fixed Friendly Captcha styles.
Fixed Duplicate captcha not refreshing its value for Ajax forms, after a successful submission.
Fixed JavaScript captcha not refreshing its token after a successful submission, and trying to submit again without a page refresh.
Fixed captcha behaviour to handle multiple initializations.
Fixed captcha integrations with initializing Formie’s JS multiple times.
Fixed race condition for refreshing captcha tokens when the captchas hadn’t been initialized yet.
Fixed JS destroyForm()
not removing the form from the factory collection correctly.
Fixed multiple event bindings for some JS elements.
Fixed spam email notifications throwing an error in the queue when trying to send (if enabled to do so).
Fixed dynamically redirectUrl
having any query params overwritten if the same query param was on the current URL.
Fixed submissions using query string params for populating some properties when they shouldn’t.
Fixed some fields not having their settings normalized.
Fixed an error when editing a form and invalid default status.
Fixed an error with File Upload fields and an invalid Upload Location set.
Fixed File Upload fields not working correctly for Repeater or Group fields, when the only nested field.
Fixed double-initialization checks for Formie’s JS, causing incorrect behaviour with a race condition with JS frameworks.
Released Oct 08, 2023
Added better support for editing submissions.
Added “Consent To Track” and “Consent To Send SMS” to Campaign Monitor integration.
Added Phone integration field type, for formatting phone numbers sent to integrations.
Added support for expand parameter on target schemas for Microsoft Dynamics 365 CRM. (thanks @jamesmacwhite).
Changed references for Linked.in
to LinkedIn
.
Calling craft.formie.renderForm()
now sets a unique formId
to assist with rendering the same form multiple times to retain JS functionality.
Clearing a current submission can now be done without a POST request.
Fixed an issue with Dynamics 365 and Created By value.
Fixed query restrictions for system users for Microsoft Dynamics 365 integration.
Fixed payment fields not working within Group fields.
Fixed Turnstile captcha firing form submissions multiple times for Ajax based forms.
Fixed Turnstile captcha triggering unload warnings.
Fixed custom error messages for fields not being used for server-side errors.
Fixed DotDigital CRM Integration response when updating the address book.
Fixed an error with JS binding to the same form rendered multiple times.
Fixed actionUrl
not taking into account incomplete editing submissions.
Fixed an error for some integrations and an invalid enabled state.
Fixed an error processing User element integrations and user profile.
Released Sept 25, 2023
Added “Created By” field mapping for Dynamics 365 CRM integration.
Added Field::getRequiredPlugins()
to better support plugin-dependant fields.
Added Honeypot value for GraphQL queries.
Added siteKey
values for supported Captchas for GraphQL queries.
Added “Mobile Number” to Campaign Monitor integration.
Added form.setActionUrl()
.
Added FormSettings::pageRedirectUrl
to allow setting the redirect URL for every page submission.
Updated isPluginInstalledAndEnabled
check.
Updated stripe/stripe-php
dependency to align with Craft Commerce.
Fixed Dropdown field throwing errors after changing options from being an optgroup
.
Fixed an error when toggling Dropdown field options from using an optgroup to a default.
Fixed an error when setting cookie values for a Hidden field, and not dealing with encoded values properly.
Fixed showing “Edit Form” element action when viewing forms.
Fixed mapping a Formie Submission field to the Submission ID for Element integrations.
Fixed form
not being available for PDF templates.
Fixed an issue with Honeypot Captcha and GraphQL mutations.
Fixed File Upload fields in Repeater fields not working correctly with GraphQL mutations.