-
Notifications
You must be signed in to change notification settings - Fork 846
Form Block: add new variation allowing site email collection #16606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are some suggested test cases for this PR.
Contact Form
- Publish a post with default form block
- Edit a post that includes a block that was created with a previous version of the plugin
- Submit a form via frontend using form block
- Check different predefined form types
- Verify it renders as expected in both non-AMP and AMP views
- Check in mobile view
- Check in a older version of WordPress
- Check with the Gutenberg plugin
- Check without the Gutenberg plugin
- Check in IE11
If you think that suggestions should be improved please edit the configuration file here. You can also modify/add test-suites to be used in the configuration file.
|
Caution: This PR has changes that must be merged to WordPress.com |
|
Thank you for the great PR description! When this PR is ready for review, please apply the E2E results is available here (for debugging purposes): https://jetpack-e2e-dashboard.herokuapp.com/pr-16606 Scheduled Jetpack release: August 4, 2020. |
|
@Automattic/jetpack-design – This PR is to support the Creativ.eMail block that is discussed in p1HpG7-9NB-p2. The question that I have here is whether "Signup Form" is the correct name to use for this form variant? The first thing that came to mind for me was "Subscription Form". On another note, do we have hooks on the backend that we can use to distinguish these form block variants? For example, it'd be nice to be able to drop this form in a page and then on the backend listen to something like |
Yeah I agree, signup doesn't seem the right operation here, and depending on the context might be misleading. |
Not yet, no. Once we start making progress on this, I was thinking about adding an additional attribute to the form, just like we did in #16519 for Jetpack CRM, and set that attribute to true when a form has an integration. We have access to those attributes when we build the form, so we can use that to add an extra field to the form submission if the attribute is set. |
|
closing in favor of #16808. |
Changes proposed in this Pull Request:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
/formProposed changelog entry for your changes: