ampproject / ampproject/amphtml
Make Dynamic action-xhr in amp-form
Open
Component: amp-form
Customer: Developer
P2: Soon
Stale
Type: DevX
Type: Feature Request
WG: components
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
It would be really good if we can bind action-xhr in the amp-form.
Scenario:
Got two forms: Contact Form and OTP (intial hidden)
Contact form successful submission sends some dynamic response (using amp-bind preserve the response state) which is used to create OTP form url.
Let me know what you think of this?
Contributor guide
Assessment
This issue has not been assessed yet.