I want to customize submit action of the adaptive form such that on submit, I want to capture the field’s value and want to pass these value to Sling Servlet. I am unable to call java script function (Ajax) in post.POST.jsp file to pass value to the Sling Servlet.Please help me on this.
These should also help:
You can use submit action as rest end point. This submit action is used for POST and GET calls. So you can create your own *.jsp for expected result.