HiddenFormInput class

The HiddenFormInput class represents a hidden input type in an HTML form.

The following code example shows how to create a HiddenFormInput object:

    HiddenFormInput hidden = new HiddenFormInput("account", "123456");
    System.out.println(hidden.getTag()):

The previous code generates the following tag:

<input type="hidden" name="account" value="123456" />

In an HTML page, the HiddenInputType does not display. It sends the information (in this case the account number) back to the server.