2

In amp-form POST method., how to validate password and confirm password field?

And also how to validate already exist username and email ID and show error message

2 Answers 2

2

AMP doesn't allow client side JS/JQuery, so you have to do server side validation after the form submission.

0

Not Allowed in AMP

<input type=password>
<input type=button>
<input type=file>
<input type=image>

Please refer : amp-form

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.