## Web controls

Web controls are report components designed to be similar to the kinds of controls found on web pages. JReport provides some web controls such as text fields, drop-down lists, and buttons that are usually used in web pages. In most cases, web controls are not used independently. They are bound with some web actions, or put into a form. When a web control is bound with some web actions which will be triggered on certain events, any of the events applied to the web control will perform the web actions. You can also add some web controls into a form, and then define the form according to your requirements, so that the inputs at runtime can be submitted to JReport Server and thus be processed.

Based on the different functions and usages, web controls are divided into two types in JReport: basic web controls and advanced web controls. For the basic web controls, you need to bind web actions to them by yourself, however, advanced web controls are defined with specific web actions or are used for specific purposes so that you can use them directly.

This section explains how to use web controls in JReport as follows:

- Using basic web controls
- Using advanced web controls

See an example: The SampleComponents catalog, included with JReport Designer, contains reports that have examples of how each component type could be used in a report. For the web control example, open `<install_root>\Demo\Reports\SampleComponents\WebControls_*.cls`.