[CLOSED] show hide two set of parameters for user input to webfocus report
Hi I have a different kind of request from our payroll customer. We have a payroll report that runs by year from, year to, pay no from, pay no to. But now she wants to add effective date from and effective date to. She wants to have an opotion in the launch page like 1)by year or 2)by effective date. Then based on either 1) or 2) option these input fields will appear on the launch page, 1) year from, year to, payno from, payno to. For 2) effective date from, effective date to. and then run the report with different selection criteria. How do I design this user interface?
Thanks AbuThis message has been edited. Last edited by: <Kathryn Henning>,
The example uses the jQuery show() / hide() methods.
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
May 09, 2013, 06:59 AM
Alex
You can add a Sorting parameter to your report, e.g. &SORTBY, and add a "BY &SORTBY" in the appropriate position. On your Launch page add the &SORTBY with the sort choices passing the sort field to the report.
WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
May 09, 2013, 08:10 AM
JL
If you are using the HTML Composer and do not have jQuery to create your launch page, you can use a radio button (say radio1) with the option for (1) by year or (2) by effective date. Then create two panels - panel1 with the year label and the year text field or year dropdown list; panel2 with the effective date labels and the text/calendar fields for start and end date.