Sign in to Community
Sign in to view all badges
I am using ootb form submit action - 'Submit to Rest Endpoint'.
I know I can write the rule on click event of the submit button and directly hit my servlet and get the response but I want to use Submit action(post.Post.jsp) to achieve it. Is there any way?
I was able to resolve this issue by setting the thank you page URL and the value should be the same as the source page URL where the form is present.
@yuvraj1610 You can make AJAX call to your post servlet in AEM forms rule editor. Just take care of CORS
You have chosen the asynchronous submit and it sounds as if you want to handle it individually. This link describes your use case - maybe that will help
The event of the Submit button might not be the correct place. I think that needs to happen on Form level.