Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a quick tutorial to show you on how to create a html form and pass its value as parameter to Jasper Report by using Jasper Report on using an HTML form to pass parameters to the Jasper Report Userview Menu (Enterprise). The output of this tutorial is you are able to , to demonstrate how to filter the result results of a report by submit the HTML form that you createdbased on input values.

First, add a Jasper Report menu into your Userview Builder and configure the jrxml JRXML as shown in this link. Then, create a an HTML form in the "UI > Custom Header" options option as shown in the screenshot below. Use the Request Parameters Hash Variable to re-populate a submitted value.

After a form is created, configure the Report Parameters by with the help of Request Parameters Hash Variable.

Now, your report is ready with the filtering feature. The screenshot screenshots below shown shows the end result.

1. Before any value key is keyed in for the filter. :

2. After a "j" is typed in the filter field and the submit button is clicked. :

Sample App : APP_jasper-1-20141007164459.zip