Skip to content

v3.0.0

Choose a tag to compare

@afonic afonic released this 25 Nov 09:52
· 21 commits to main since this release

Easy Forms 3 supports Statamic Forms 2. It requires Statamic 6.44 or later. On older versions, stay on 2.x.

Added

  • The Forms 2 fieldtypes: Star Rating, Opinion Scale, Ranking, Image Choice, Yes/No, Currency, Upload, Date Picker, Time Picker, Banner, Heading and Paragraph.
  • Forms Pro multi-page forms. Pages, page logic, button labels and partial submissions work without extra parameters.
  • The Forms Pro Address field (without address autocomplete).
  • Easy Forms options in the form builder, and Grid and Hidden as form fieldtypes.
  • Closed forms, submission limits and login requirements show their message in place of the form.
  • A message when submissions are rate limited.
  • The email template works with Forms 2 email connections: it shows the Message, section headings, readable values and attachments.
  • Fieldtypes without an Easy Forms template render a text input instead of nothing.

Changed

  • Fields hidden by conditions are left out of submissions.
  • Uploads without a maximum number of files accept any number of files.
  • Date ranges use Statamic's range mode and are stored as start and end dates.

Fixed

  • The honeypot works without adding a text field with the same handle to the form. Forms 2 can also keep these submissions as spam.
  • Options hidden in the form builder are left out of the form.
  • Groups render fields linked or imported from a fieldset.
  • Translations and placeholders with an apostrophe no longer break select, dictionary, phone, date and number fields.

Upgrading from 2.x

  1. Update Statamic to 6.44 or later, then Easy Forms to ^3.0.
  2. Republish the assets: php artisan vendor:publish --tag=statamic-easy-forms --force
  3. If you published the views, compare them with the new ones or publish them again. The markup changed throughout.
  4. If you use the email template, publish it again with php artisan vendor:publish --tag=easy-forms-emails --force, then pick it as the HTML view of the email connection.
  5. If you published the theme, add --color-ef-rating for the rating stars.

Forms 2 does not support uploads inside groups.