ampproject / ampproject/amphtml

Make Dynamic action-xhr in amp-form

Open
#11,222 15 comments 7 reactions 1 assignee Claimed by @caroqliu View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.