Hi All,
We have a use case where we need to add 'Print' and 'Submit' buttons to an HTML5 form. We are calling a servlet and adding that servlet from the XDP file properties. This servlet will call two different methods based on the click event. For example, if a user clicks on 'Print,' it will call the same servlet with Print method and a separate method for submission.
First of all, could you please let me know if we can add two HTTP Submit Buttons to a single XDP form? If yes, then how can we call the same servlet? Can we call it through an AJAX call?
Alternatively, you can also guide me on how to achieve this use case with better approach.
Best regards
Nilesh