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

ResetFormInput class

Start changeThe ResetFormInput class represents a reset button input type in an HTML form.

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

    ResetFormInput reset = new ResetFormInput();
    reset.setValue("Reset");
    System.out.println(reset.getTag());

The above code example generates the following HTML tag:

<input type="reset" value="Reset" />

When you use this tag in an HTML form, it looks like this:

End change