on 06-12-2019 7:24 AM
Hi experts...
I need to add Amp from with post method in store front. on submitting post method its redirecting to 404,but get method is working fine. I guess its because of CSRF token filter. Could you please help me out on this. i have no idea how solve this issue.
Thank you, Kavitha.U
Since Amp Form is using action-xhr for POST method, it is expecting JSON response so we have to accept the content type as application/json in header and form will get submitted. But for form validation , how to handle it ?? Amp has its own validation but is it possible to show our own custom validation messages instead of theirs?? Can anyone help me in this please..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.