Form Builder has also joined the family of the XP 8-ready apps. Version 3.0 is on Enonic Market now, and besides the platform upgrade it changes where your form responses live.
Responses are stored as nodes
Until now, form responses and uploaded files were saved as content in a hidden repository. In version 3 they are plain nodes in a dedicated repository, com.enonic.formbuilder. Reports work as before through the Form Report widget.
As a consequence, the “Full” storage policy, which saved every response as content in Content Studio, is gone. “Minimal” and “Regular” remain.
What else is new
- Runs on GraalJS, the new JavaScript engine in XP
- The “E-mail FROM address” in the site configuration is no longer required. Leave it empty to use the default sender from your XP configuration
- If a submission fails, the visitor now gets an error message and can try again, rather than ending up on a blank page
- The help texts in the app and form configuration have been shortened
Coming from version 2?
You don’t have to move anything by hand. The first time version 3 starts, it picks up the responses and files stored by version 2 and moves them to the new repository in the background, then writes a summary to the server log.
Two things are worth knowing:
- Migrated responses and files get new ids, so file links in reports you exported with version 2 will stop working. Run a new report to get fresh links.
- Responses stored with the old “Full” policy are not migrated.
The README covers the migration in detail, including what happens to files whose response was already deleted.