Demo: amp-form

Form Submission with Page Reload

Form Submission with Page Update

Form Custom Validation: show-all-on-submit

Please enter your first and last name separated by a space (e.g. Jane Miller)

Form Custom Validation: show-first-on-submit

Please enter your first and last name separated by a space (e.g. Jane Miller)

Form Custom Validation: as-you-go

Please enter your first and last name separated by a space (e.g. Jane Miller)

Form Verification: as-you-go

That username is already taken Invalid character in username

Hiding input fields after success

Other form input sample: type="date"

Other form input sample: type="month"

Other form input sample: type="week"

Other form input sample: type="datetime-local"

Other form input sample: type="time"

Other form input sample: type="checkbox"

Other form input sample: type="email"

Other form input sample: type="hidden"

Other form input sample: type="number"

Other form input sample: type="radio"

Other form input sample: type="range"

Other form input sample: type="tel"

Other form input sample: type="url"

Other form input sample: type="reset"

Other form input sample: type="password"

Other form input sample: <select>