AS/400 Toolbox for Java \ HTML classes \ HTML forms \ Form input \ Hidden forminput

HiddenFormInput class

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

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

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

The code above generates the following tag:

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

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


[ Information Center Home Page | Feedback ] [ Legal | AS/400 Glossary ]