How to display Form in HTML 5 viewer?

Stimulsoft Reports.WEB discussion
Post Reply
jaimefuhr
Posts: 12
Joined: Wed Sep 15, 2021 5:10 pm

How to display Form in HTML 5 viewer?

Post by jaimefuhr »

Our application uses a very old version of Reports.Web (2011).

The control is capable of rendering the Form page in the report. We use this to allow the user to set various report parameters such as start and end date, and other filters.

I updated our control to 2022.1.2, which now uses the HTML 5 web viewer. The Form page is no longer displayed so I suspect there is a different way to allow user input.

We have over 40 reports that contain their own Form based on the type of report. It would be very time-consuming to write code to have the app pass in the parameters to the report; not every report requires the same inputs.

What are my options on getting our reports and controls updated from 2011 with the ability to display a Form? Does the latest version of Reports.Web have a user input like the old Forms?

Thanks
Screenshot 2025-04-14 155209.png
Screenshot 2025-04-14 155209.png (12.69 KiB) Viewed 3889 times
Screenshot 2025-04-14 155237.png
Screenshot 2025-04-14 155237.png (28.15 KiB) Viewed 3889 times
jaimefuhr
Posts: 12
Joined: Wed Sep 15, 2021 5:10 pm

Re: How to display Form in HTML 5 viewer?

Post by jaimefuhr »

I've found what I need to use which is, Report Variables
https://www.stimulsoft.com/en/documenta ... ng-manual/

This will work, but there is no information on how to get those values to my SQL query.
Lech Kulikowski
Posts: 7523
Joined: Tue Mar 20, 2018 5:34 am

Re: How to display Form in HTML 5 viewer?

Post by Lech Kulikowski »

Hello,

You can use the following query:
select * from tablename where columnname = {variablename}

Thank you.
rocky07
Posts: 1
Joined: Sat Oct 25, 2025 3:57 pm

Re: How to display Form in HTML 5 viewer?

Post by rocky07 »

In the HTML5 viewer (from Stimulsoft Reports.Web 2022.1.2 onward), the old Form pages are no longer supported — they’ve been replaced by a “Request from User” parameters dialog that automatically appears when a report includes variables marked for user input. To replicate your old Forms, you can either use this built-in dialog or create a custom parameter UI that passes values to the report through the viewer API. While it requires some adjustment, this approach is the modern replacement for the legacy Form functionality. Nulls Brawl
Last edited by rocky07 on Wed Oct 29, 2025 8:27 am, edited 1 time in total.
Lech Kulikowski
Posts: 7523
Joined: Tue Mar 20, 2018 5:34 am

Re: How to display Form in HTML 5 viewer?

Post by Lech Kulikowski »

Hello,

Thank you for sharing your experience with other users.
Post Reply