Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
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
Gelöst! Gehe zu Lösung.
Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.
Zugriffe
Antworten
Likes gesamt
Hi @krishna_sai ,
If you find the answer helpful, please mark as correct reply. Thanks
Zugriffe
Antworten
Likes gesamt
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
Zugriffe
Antworten
Likes gesamt
Hi @krishna_sai ,
If you find the answer helpful, please mark as correct reply. Thanks
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten