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.