scrivito_example_app_js
scrivito_example_app_js copied to clipboard
Neoletter | Form Builder | Subscription as a hidden field
Related to https://github.com/Scrivito/scrivito_example_app_js/pull/535
To make the subscription process more straightforward, we've made a change in the Form Builder. Previously, users had to actively check a specific checkbox to subscribe. We realized this step might not be necessary for all types of subscription forms. To simplify the process, we've incorporated the subscription action as a hidden field within the form. This means that when users fill out the form, the subscription process is initiated without the need for the user to check an additional checkbox.
Currently, subscription feature-related fields are activated when the ENABLE_NEOLETTER_FORM_BUILDER_SUBSCRIPTION_FEATURE environment variable flag is set.
Without flag:
With flag:
Deploy request for scrivito-example pending review.
Visit the deploys page to approve it
Name | Link |
---|---|
Latest commit | 5692255870fdd206e3880d62da226a3b8de2ae6a |
FYI: I will not be able to review this PR in the near future. My queue is quite full with high priority tasks.
FYI: I will not be able to review this PR in the near future. My queue is quite full with high priority tasks.
Would be cool, if we could get this merged 😎
As far as I know Amier is working on an NPM package to incorporate the form builder. To me this would be the right place to add such functionality.
I adapted it to the Scrivito-Neoletter-Form-Widgets package and also reviewed it. The code appears to be in good shape, so perhaps you could approve it easily? Or perhaps someone else from your team could review it as well? I'm willing to take responsibility if any issues arise.
The situation is that there are existing customers who want that feature but aren't currently using the package. They've made some modifications to their form widgets that might not function properly if they switch to using the package.
@aea-JR : Thank you for your offer. But I think it would be useful if:
- The example app uses
scrivito-neoletter-form-widgets
directly. -
scrivito-neoletter-form-widgets
provides a way to customers/projects to provide custom code.
Could you create a PR that removes the existing form widgets from the example app and use scrivito-neoletter-form-widgets
directly?