October 2017
Intermediate to advanced
370 pages
8h 57m
English
AMP has another small trick up its sleeve that we can exploit to improve the form submission UX. On successful submissions, AMP applies the class amp-form-submit-success to the form element. Thus, we can use CSS to hide the form fields when we don't need them any more:

Read now
Unlock full access