Form Reform handlers to save form data to Express objects, User and Page attributes.
If you work within its limitations, Express can be a convenient way of building simple databases without any programming. Express allows forms to be configured for entering data on the front end of a site, so why do you need Form Reform? Express forms are:
The Save to Express handler for Form Reform can save you from both of these problems. You can create front end forms for your Express data using the easy form design flexibility of Form Reform input blocks while saving the form data to Express. For form processing you can take advantage of the massive flexibility of the Form Reform pipeline.
The Save to User form handler maps form fields to attributes of the current user with a similar configuration dialogue to the Save to Express handler configuration above.
The Save to User Textarea Attribute form handler uses any textarea attribute of the current user as a store to write form data to.
The Save to Page Textarea Attribute form handler uses any textarea attribute of the current page as a store to write form data to.
Whilst the flexibility of Form Reform allows pretty much any kind of input to be used to populate an attribute, options attributes can be a little bit fiddly. To make that easier, we have some form input block types constructed specially for use with options attributes.
These form input blocks automatically populate their options from any options attribute in a format that is compatible with the Form Reform Save to Attributes handlers. Block edit options allow configuration for:
You don't have to use these blocks. They just provide a shortcut to some of the most frequent uses of options attributes.
This addon requires Form Reform and is FREE to those who have purchased Form Reform. Just send me your Form Reform license details and I will grant you a free license to this extension.
Requires php7.3+. Compatible with php8+.
See more addons by JohntheFish.