Trying to do a form submit via ajax, currently working well if the submission didn't encounter any problem/errors and is showing the success screen. but how do I show the error screen if the response from the ajax has an error, ie duplicate records?
Glad you solved it. Feel free to let us know if you need more help.
Thanks
hi i was able to fix it now
Hi Ben Yee,
May I know which application are you using? Is it Laravel, HTML version, Angular, etc?
Thanks