Hi All,
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.
Solved! Go to Solution.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Why don't you call your Javascript function on the click event of the Submit button using the Rule Editor?
http://blogs.adobe.com/experiencedelivers/experience-management/aem_forms_rule_editor/
These should also help:
https://helpx.adobe.com/aem-forms/6-2/configuring-submit-actions.html
https://helpx.adobe.com/aem-forms/6-2/custom-submit-action-form.html
Views
Replies
Total Likes
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.
Views
Replies
Total Likes