Formie 1.x is on version 1.3.27, released on Apr 11, 2021
Released Apr 11, 2021
Added extra error-catching to send notification queue job.
Added resave/formie-submissions
and resave/formie-forms
console commands.
Update translation strings.
Fixed completeSubmission
buttons not working correctly with client-side validation enabled.
Fixed an error when un-registering fieldtypes.
Fixed lack of redirect support for Page Reload forms, when completeSubmission
is used.
Fixed auto-handle generation for forms and fields producing incorrect values when starting with a number.
Fixed missing type
attribute on form fields.
Fixed form builder fields having their IDs stripped from requests, when validation fails, causing sync issues.
Fixed Group or Repeater nested fields not getting unique handles.
Fixed Rich rich text link editing not working.
Fixed CC and BCC showing emails incorrectly for email notification previews.
Fixed heading showing field label in edit submissions in control panel.
Fixed Heading, HTML and Section fields appearing in exports as columns.
Fixed being unable to select site-specific entries for “Redirect Entry”.
Fixed Sendinblue email marketing integration throwing an error when only email address is mapped.
Released Apr 02, 2021
Added autocomplete
option to Address field, for use in GraphQL.
Added payload info to integration logging.
Added FormIntegrationsInterface
for GraphQL, to return information of integrations for a form.
Added notification
and submission
properties to Emails::EVENT_AFTER_SEND_MAIL
.
Added siteId
as a mappable attributes for entry element integrations.
Added support for entry element integrations to have the entry siteId
attribute set to the same site the submission is made on, by default.
Improve element integration error logging.
Disable Section and HTML fields from being able to be used in integration mapping (they do nothing).
Fixed incorrect validation message for Time field in Date field, complaining about 24-hour values.
Fixed Time field for Date fields incorrectly converting time values to site timezone.
Fixed multi-line fields with rich text set, not rendering raw HTML in email notifications.
Fixed Phone field values potentially returning an invalid value, when no value provided.
Fixed an error (not firing) for a failed submission through GraphQL mutations.
Fixed GraphQL mutations permissions for submissions.
Fixed entry element integration not working correctly for entry types with dynamic title.
Fixed an error when trying to parse Checkboxes and Multi-Dropdown fields for spam-checks.
Fixed error when trying to output Checkboxes and Multi-Dropdown fields in email notifications.
Released Mar 22, 2021
Added “Ajax Submission Timeout” form setting to control the timeout for the XHR request, for Ajax-based forms, using the Theme JS.
Fixed Agile CRM integration not updating existing contacts correctly.
Fixed Sendinblue integration not subscribing users to the chosen list.
Fixed an error when saving a submission in the control panel with a user with restricted permissions.
Released Mar 18, 2021
Refactor JavaScript captcha for more error-handling, support for cached forms and removal of inline <script>
tags.
Fixed Date fields throwing an error when the default date set to "None" and rendering inputs or a dropdown.
Fixed Date fields always selecting the first option in the list, when set to dropdown.
Fixed JavaScript captcha outputting inline <script>
tags.
Fixed JavaScript captcha throwing a "modified form" browser warning.
Fixed form settings not updating when using Blitz caching.
Fixed element fields restricting values to only the default value.
Released Mar 16, 2021
Added modifyPrefixOptions
event for name fields.
Added Mx.
to name field prefixes.
Allow the <form>
element to defined the action
and method
settings of Ajax requests, and fix POST-ing to site roots with redirects configured.
Fixed redirectUrl
not working correctly when using form.setSettings()
in your templates for Ajax forms.
Fixed the default template in the control panel (when clicking on “Formie” in the CP nav) throwing an error when trying to load a page the user doesn’t have access to.
Fixed Sent Notification preview column throwing an error in the control panel.
Fixed being unable to save a submission in the control panel, when specific form permissions were set.
Fixed an error when rendering elements fields as checkboxes.
Cleanup uninstall, fix an error during uninstall, fix not deleting submissions and forms on uninstall.
Fixed Categories fields not populating their value correctly when limit
was also set.
Fixed Entries fields not populating their value correctly when limit
was also set.
Fixed Products fields not populating their value correctly when limit
was also set.
Fixed Tags fields not populating their value correctly when limit
was also set.
Fixed Users fields not populating their value correctly when limit
was also set.
Fixed Variants fields not populating their value correctly when limit
was also set.
Released Mar 09, 2021
Added “ID” to available submissions index columns.
Added “ID” to available forms index columns.
Added “Submission ID” to the edit page for submissions.
Added “Form Name” to integration mapping and email notification condition variable pickers.
Added setting to Hidden field to include or exclude their content in email notifications.
Added “All Visible Fields” options to email notifications, outputting field content only for fields that are visible.
Added EVENT_AFTER_SUBMISSION_REQUEST
.
Added support for querying and mutating Group and Repeater fields for GraphQL.
Added support for updating entries for Entry integration.
Added support for updating users for User integration.
Added support for creating a new draft for Entry element integration.
Update default submission titles to D, d M Y H:i:s
(eg, “Thu, 04 Mar 2021 10:50:16”).
Minor performance improvement when submitting submissions, when no custom title format is set.
Fixed Number field not having the correct type for GraphQL queries.
Fixed an error with HubSpot CRM, when mapping a field to the Tracking ID for forms.
Fixed Date field not having the correct type for GraphQL queries.
Fixed reCAPTCHA placeholders not being found for custom-templated forms that have no pages containers.
Fixed custom submission titles not working correctly when using submission attributes (namely submission ID).
Fixed Sent Notifications index not ordering by descending by default.
Fixed multi-line text fields not having their content passed through nl2br
in email notifications.
Fixed address fields not showing the correct preview in the control panel when “Auto-complete” was enabled.
Fixed element integrations incorrectly mapping fields and attributes when no value supplied.
Fixed fields not having their formId
attribute set correctly.
Fixed GQL errors when querying subfields inside group/repeater fields.
Fixed “Reply To” setting for email notifications not being properly parsed for environment variables.
Fixed email parsing error for email notifications in rare circumstances (where an env variable contained spaces).
Released Mar 01, 2021
Updated front-end JS to catch ajax-based forms network errors and timeouts.
Fixed toggling checkboxes triggering required states, when the field wasn’t required at all.
Removed siteRootUrl
for included JS, causing issues with JS form submissions on some sites, where cross-domain issues arise. Rely on siteId
param to determine current site..
Fixed an error with HTML field when “HTML Content” was empty.
Fixed Name, Address and Date fields not applying an id
attribute of legends for accessibility.
Ensure all front-end field legends output, even when hidden (using fui-sr-only
) for accessibility.
Released Feb 26, 2021
Added logging to submit action, capturing form content immediately and saving to logs.
Allow both 0.3.0 and 0.4.0 guzzlehttp/oauth-subscriber. (thanks @verbeeksteven).
Fixed sub-fields (Name, Address, etc) not working for pre-populating values.
Fixed value of checkbox fields for integrations when mapping to a plain text field. Field values are now sent as comma-separated.
Fixed InfusionSoft sending incorrect Phone Number payload values. (thanks @dubcanada).
Fixed submission error logs not saving log information for ajax forms.
Fixed Salesforce duplicate leads throwing an error.
Released Feb 24, 2021
Added populateFormValues
GraphQL argument to pass options into templateHtml
render function. (thanks @jaydensmith).
Added options
GraphQL argument to pass options into templateHtml
render function. (thanks @jaydensmith).
Fixed validation error for new Email Address fields, introduced in 1.3.19.
Released Feb 24, 2021
Added support for populateFormValues
to Group fields.
Added support for populateFormValues
to Repeater fields.
Added “Order By” setting for all element fields to control the order options are rendered by.
Added Checkbox Toggle to Checkboxes fields, providing the ability to toggle all checkbox fields at once.
Added “Usage Count” column to Forms, to show the number of elements relating to each form.
Added “Validate Domain (DNS)” setting for email address fields.
Added “Blocked Domains” setting for email address fields.
Added tags to Agile CRM integration. (thanks @jaydensmith).
Fixed element fields not rendering correctly in email notifications, when including a single field token.
Fixed “Resend” button when editing a sent notification.
Fixed provider errors for all integrations getting truncated text.
Fixed potential issue with siteRootUrl
on site setups with redirects setup to include trailing slashes in URLs.
Fixed a HubSpot integration form error when some context values (IP) isn’t always available.
Fixed “Save as a new Form” not generating a nice, sequential handle.
Fixed an issue where a failed “Save as new form” would retain the incorrect form settings.
Fixed form errors not showing full error text in control panel.
Fixed Repeater and Group field styling when editing a submission in the control panel.
Fixed JavaScript captcha when using template caching not working.
Released Feb 20, 2021
Added support for HubSpot form integration.
Added opt-in field support to all CRM integrations.
Added support for field options defined in HubSpot (for dropdown, select, etc).
Added custom field support for Sendinblue integration.
Added Min File Size
setting for File Upload fields.
Added support for global variables in Spam Keywords.
Update some email marketing integrations to fetch custom list fields more efficiently.
Prevent email notifications sending 0kb file uploads. This can lead to spam filters marking the email as invalid.
Fixed "minutes" to be given a retention length. (thanks @nickdunn).
Fixed endpoint
and method
properties missing from SendIntegrationPayloadEvent
for Email Marketing and CRM integrations.
Fixed nested fields (Group, Repeater) not having inner field JS initialized properly.
Fixed spam checks for some field types.
Fixed tag fields throwing an error when set to “dropdown” and editing a submission.
Fixed case insensitivity (not working) for spam keywords.
Fixed multiple fields with JS config not initialising correctly.
Fixed Group or Repeater nested fields not getting unqiue handles when cloning.
Fixed Repeater fields not having their inner fields’ JS initialized properly.
Fixed some fields (Element, Repeater, Group) not extracting content for spam keyword checks.
Fixed submission success messages including submission content not working.
Fixed existing fields not appearing for the form builder.
Fixed some fields (plain text and other simple fields) not having their labels correctly translated for email notifications.
Released Feb 13, 2021
Added better caching to getParsedValue
, which fix a few rare issues with field rendering stale content.
Allow formieInclude()
to allow multiple templates (array syntax) to be passed in to be resolve.
Added support for Integration settings for Stencils.
Added support for paginated lists for Sendinblue integration.
Added error logging for email delivery.
Added ability to set the default value for all Element fields.
Added checkboxes and radio button display types for Element fields.
Added support to Element fields to customise the content used for labels, instead of just title.
Added submission
to Submission::EVENT_DEFINE_RULES
event.
Added Tracking, Account and Campaign IDs to SharpSpring CRM integration.
Added configJson
and templateHtml
to FormInterface for GraphQL.
Added ModifyFormRenderOptionsEvent
. (thanks @jaydensmith).
Added getIsTextInput
method to Phone field. (thanks @jaydensmith).
Added formConfig
to the initForm()
JS function to provide an object with the form config, rather than rely on the DOM to set it (using setAttribute('data-config’)
).
Changed Field::getEmailHtml()
to require a notification model.
Any globally-enabled captchas will be automatically enabled on new forms.
Any globally-enabled captchas will be automatically enabled on new stencils.
Fixed an error for email notifications if its conditions contained an element field, set to contains
as a condition.
Fixed Variant field not providing data to integrations correctly.
Fixed Categories field not providing data to integrations correctly.
Fixed Entries field not providing data to integrations correctly.
Fixed File Upload field not providing data to integrations correctly.
Fixed Products field not providing data to integrations correctly.
Fixed Tags field not providing data to integrations correctly.
Fixed Users field not providing data to integrations correctly.
Fixed email notification conditions not properly testing against element field values (entries, categories, etc).
Fixed checkbox and radio fields having JS validation checks bound multiple times in a form.
Fixed checkbox fields producing multiple errors.
Fixed some reCAPTCHA plugin settings not saving correctly.
Fixed reCAPTCHA not initializing when the surrounding form was initially hidden (for example, in a modal).
Fixed multiple forms on a single page not having their associated field JS initialized properly.
Fixed migration error for Postgres.
Fixed security warnings of using eval()
in front-end JS, despite it being safe to call.
Fixed edit field button in control panel sizing being too small.
Fixed assuming TEMPLATE_MODE_SITE
when rendering templates for forms, pages and fields.
Fixed template conditional that could cause the form to be hidden if “Hide Form” was set, but “Action on Submit” was set to “Display a message”.
Fixed a JS error with some fields (address auto-complete, multi-line) in some instances.
Fixed minor e.g.
typo for stencils.
Fixed getValue
method on BaseOptionsField not returning correctly. (thanks @javangriff).
Released Jan 31, 2021
Fix an error with ModifyFieldValueForIntegrationEvent
.
Released Jan 31, 2021
Added autocomplete value to Address field in email templates.
Added SubmissionExport::EVENT_MODIFY_FIELD_EXPORT
to allow modification of values for fields when exporting submissions.
Added Submission::EVENT_MODIFY_FIELD_VALUE_FOR_INTEGRATION
to allow modification of submission field values before they’re used in Integrations.
Added minutes
as an option for submission data retention.
Added more feedback for garbage-collection tasks when run directly from the CLI.
Fixed an error when creating new email templates in an empty directory.
Fixed email and form templates not retaining “Copy Templates” value after validation.
Fixed Users field not setting “All users” as default sources when creating a new field.
Fixed Variant field not exporting correctly.
Fixed Users field not exporting correctly.
Fixed Tags field not exporting correctly.
Fixed Products field not exporting correctly.
Fixed File Upload field not exporting correctly.
Fixed Entries field not exporting correctly.
Fixed Categories field not exporting correctly.
Fixed Checkboxes field not exporting correctly.
Fixed Agree field not exporting correctly.
Fixed an error when trying to delete submissions from the CLI.
Fixed an error when disconnecting an OAuth-based integration.
Fixed Salesforce and Zoho CRM integrations not persisting values returned from provider authentication.
Ensure error message is logged for failed pruning of submission tasks.
Released Jan 29, 2021
Added more logging info for email notifications, when failed to send.
Fixed an error when viewing sent notifications, when the submission was deleted.
Fixed some errors for sent notifications for a deleted submission or form.
Fixed Zoho integration where the authentication response didn’t contain the required api_domain
.
Fixed Salesforce integration where the authentication response didn’t contain the required instance_url
.
Fixed failed email notifications not showing the full error in the control panel, when running email notifications via queues.
Released Jan 28, 2021
Add completeSubmission
param to forms, to allow providing a full payload and complete the submission.
Saving spam submissions is now enabled by default.
Agree field description static translation is now defined in site.php
.
Fixed IE11 compatibility with some front-end fields (Address, Phone, Repeater).
Fixed hidden fields not having input attributes setting.
Fixed description for Agree field being translated twice.
Fixed error in Craft 3.6+.
Fixed submissions failing if spamKeywords
setting was invalid.
Fixed error when querying form settings using GraphQL
Released Jan 24, 2021
Added support to Mailchimp integration for tags.
Fixed an error with Webhook integrations.
Released Jan 23, 2021
Added support for selecting existing notifications from stencils, when adding a notification to a form.
Added support for Webhook integration URLs to contain submission variables through shorthand Twig.
Added support for Freeform and Sprout Form migrations to be run when allowAdminChanges = false
.
Fixed existing notifications not appearing when editing a stencil.
Fixed some potential errors with Sprout Forms migration and address/name fields.
Fixed Freeform migration not migrating fields correctly.
Fixed Sprout Forms migration not migrating fields correctly.
Fixed Sprout Forms migration for Agree field, where the message description would be blank.
Fixed Sprout Forms migration for File Upload field, where the selected volume wasn’t migrated.
Fixed Sprout Forms migration for Categories, Entries, Tags and User fields, not setting the selectionLabel
to the placeholder
value.
Fixed some potential errors with Sprout Forms migration and phone fields.
Fixed “Save as Stencil” not saving data correctly, by not stripping out page, row and field IDs.
Released Jan 21, 2021
Added a ‘pageIndex’ param to the submit action. (thanks @joshuabaker).
Added pagination-helper for ActiveCampaign integrations. The integration will now automatically fetch greater-than 100 resources such as lists.
Changed ActiveCampaign integrations to fetch at least 100 of each resource.
Fixed deprecation notice for Repeater field. (thanks @danieladarve).
Fixed ajax forms not redirecting correctly, when overriding redirectUrl
in templates.
Fixed HTML field not parsing Twig content in some instances.
Fixed Entry mapping throwing an error when setting the author to an Entry field.
Fixed ActiveCampaign integration not showing connection status correctly.
Fixed sub-fields (Name, Address, Phone) not having their values concatenated for integrations, when not selecting a sub-field.
Released Jan 16, 2021
File Upload fields now show a summary of uploaded files for multi-page forms. When navigating back to a page with the field, you'll see this summary.
Ajax-enabled multi-page forms now smooth-scrolls to the top of the loaded page when going to the previous or next pages.
Front-end validation now adds a fui-error
class on the fui-field
element, when a validation error occurs, instead of just on the input.
Fixed an error when using checkboxes in email notification conditions.
Fixed a potential error when viewing a submission in the control panel.
Fixed Address field auto-complete value not persisting on front-end submissions.
Fixed being unable to set the siteId
of submissions through GraphQL.
Fixed submissions not being able to be mutated through GraphQL for non-public schemas.
Fixed Group and Repeater fields not saving content correctly for non-primary sites.
Fixed flicker in Safari for the form builder, when hovering over draggable elements.
Fixed Phone field exporting not formatting international phone numbers correctly.
Fixed Phone field not always remembering the country dial code selected.
Fixed Phone field triggering content change warnings for country-enabled fields. This was due to numbers being formatted on-load..
Released Jan 12, 2021
Added support for Gatsby Source Plugin and Form elements.
Added support for Gatsby Source Plugin and Submission elements.
Added support to set the formId
for a form. This is used as the unique identifier for the id
attribute and connection JS to the form.
User element integrations now clear any field content mapped to the password field, once the user element is created.
Fixed name and address fields not showing content in columns, when editing a submission in the control panel.
Fixed some fields (checkboxes) throwing errors in email notifications.
Fixed non-multiple name field causing an error in email notifications.
Fixed non-utf8 characters in email notification email values causing errors.
Fixed email notification logging message to properly include the template it tried to resolve.
Released Jan 10, 2021
Added “Country Code” to Phone model, allowing the raw country code (eg “+1”) to be used in email notifications and submissions for a Phone field
Added form.setFieldSettings()
function to provide render-time overrides to form fields and their settings.
Change email notification variable output to only contain the value for the field, instead of including the field label/name.
Fixed default stencil’s “To” and “Reply To” variable fields not being correct.
Fixed email notification preview not working for stencils
Fixed form templates with custom template path not saving correctly
Fixed JavaScript captcha not working correctly for multiple instances of the same form on a page.
Fixed an error with the HTML field
Fixed server-side validation errors with Phone field
Fixed phone numbers not being created as international numbers, when previewing an email notification
Released Dec 23, 2020
Fixed Agile CRM mapping email, website and phone to contacts.
Fixed deleting a submission via GraphQL not returning the correct success/fail state.
Fixed deleting a submission via GraphQL not working for non-default sites.
Released Dec 22, 2020
Fixed element integrations not having their error messages translated correctly (and not containing the required logging detail).
Released Dec 22, 2020
Added ability to provide htmlpurifier config JSON files for HTML fields.
Added ModifyPurifierConfigEvent
.
Added Agile CRM integration.
Added Copper CRM integration.
Added Capsule CRM integration.
Added all global sets into variable-enabled fields.
Improve performance for very large forms and fields.
Fixed an error when viewing a trashed submission, with custom fields selected in columns.
Fixed no captchas appearing in plugin settings.
Fixed potential error thrown, when trying to catch other errors during older updates.
Fixed Oauth-based integrations not allowing connection when 'allowAdminChanges' => false
.
Fixed an error with the recipients field.
Fixed form permissions not always being run for new forms.
Fixed “Save as a new form” not working in some cases.
Fixed multi-page form submissions incorrectly validating fields when going back to a previous page.
Fixed some fields not displaying correctly in notification emails.
Fixed sent notifications not always showing the HTML body content.
Fixed form and email templates not resolving to single template files correctly.
Fixed an error when trying to delete a submission using GraphQL.
Released Dec 16, 2020
Added formie.cp.submissions.edit
template hook.
Added formie.cp.submissions.edit.content
template hook.
Added formie.cp.submissions.edit.details
|template hook.
Added formie.cp.sentNotifications.edit
template hook.
Added formie.cp.sentNotifications.edit.content
template hook.
Added formie.cp.sentNotifications.edit.details
template hook.
Update Autopilot integration to include more default fields and fix list-subscribing.
Added ability to add soft line-breaks to email notifications and other rich-text enable fields.
Pages now have a unique ID, inherited from the form’s formId
.
Fixed rendering the same form multiple times on a page not working correctly.
Fixed “Unknown Integration” error message when trying to connect an integration with allowAdminChanges = false
.
Fixed captcha settings resetting when saving plugin settings.
Fixed the siteRootUrl
to trim the trailing slash if present. This is an issue on some systems (Servd) where URLs with a trailing slash are redirected.
Fixed field/notification edit modals not getting properly reset when hidden.
Fixed HTML field errors when the vendor folder didn’t have write permissions (such as Servd).
Released Dec 06, 2020
Added defaultState
for GraphQL queries for Agree fields. This replaces defaultValue
.
Added defaultDate
for GraphQL queries for Date fields. This replaces defaultValue
.
Added “Current URL” to hidden field default value options.
Added data-field-config
attribute to all fields that require JS.
Added getConfigJson()
for all fields to define settings for JS modules.
Formie now requires Craft 3.5+.
Form queries via GraphQL are now no longer automatically included in the public schema.
Submission queries via GraphQL are now no longer automatically included in the public schema.
Submission mutations via GraphQL are now no longer automatically included in the public schema.
When (soft) deleting a form, any submissions will also be (soft) deleted. These are also restored if the form is restored.
Refactor JS behaviour for fields that require it. We now use a data-field-config
attribute on the field to store JS module settings. This is then initialized once the JS has been lazy-loaded. This allows us to split configuration from initialization and may also help with custom JS.
Renamed Field::getFrontEndJsVariables()
to Field::getFrontEndJsModules()
.
Improve handling of multi-page non-ajax forms, where some fields required JS. Formie now detects what JS needs to be used for the current page for a page-reload form, or the entire form for an ajax form.
Improve field JS to stop relying on IDs or classes to hook into field functionality. It now determines this through data-field-config
attribute on the field wrapper element. This should allow for greater template flexibility.
Submissions now make use of the same JS/CSS code that the front-end does.
Fixed errors when garbage collection is called for sent notifications.
Fixed when deleting a form, the submissions for that form weren't also deleted.
Fixed an error when trying to view a submission on a deleted form.
Fixed some GraphQL attributes not being cast to the correct type.
Fixed some GraphQL errors for some fields.
Fixed an error when trying to permanently delete a form.
Fixed an error with date field using a default value.
Fixed console error for multi-page non-ajax forms containing a phone field.
Fixed repeater and group fields not initializing their inner fields’ JS.
Fixed JS module code for fields being loaded multiple times when initially loading the page.
Fixed an error for address providers when used in a Repeater field.
Fixed address providers not checking if their provider JS is loaded correctly, in some instances.
Fixed multi-line rich text fields loading Font Awesome multiple times.
Fixed checkbox/radio fields not validation correctly inside a Repeater field.
Fixed warnings/errors for JS fields, where their inputs might not exist on a page.
Fixed Algolia Places not working correctly.
Fixed issue where multiple ajax-based forms on a single page would have validation triggered across all forms.
Fixed incorrect error being shown when custom server-side errors for fields are defined.
Fixed an error when an email notification's sender email wasn't properly filtered.
Fixed incorrect output in email notifications when using date fields.
Released Nov 28, 2020