Hi Team,
We are exploring the use of AEM Forms and have created a simple form with a few fields—such as First Name and Last Name—along with built-in validations.
Instead of using the default out-of-the-box (OOTB) submit action, we are looking to handle the form submission on the client side using a REST API endpoint. Our goal is to retain AEM’s native form validation functionality but customize the submission logic to call an external API directly from the front end.
Could you please share any best practices or guidance on how to achieve this using clientlibs
? Specifically, we’re looking for an example of how to override the submit()
method using GuideBridge JS, and the recommended way to load and structure this customization.
Any pointers or sample code would be greatly appreciated.
Thanks,
Krishna
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @krishna_sai ,
If you find the answer helpful, please mark as correct reply. Thanks
Views
Replies
Total Likes
Hi @krishna_sai ,
Yes you can create a custom clientlibs for your form and write a code to declare custom methods and author that in your submit button action.
Let me give it a try and reach out to you in case of any blockers.
Thanks,
Krishna
Views
Replies
Total Likes
Hi @krishna_sai ,
If you find the answer helpful, please mark as correct reply. Thanks
Views
Replies
Total Likes
Views
Likes
Replies