ButtonFormInput class

The ButtonFormInput class represents a button element for an HTML form.

The following example shows you how to create a ButtonFormInput object:

    ButtonFormInput button = new ButtonFormInput("button1", "Press Me", "test()");
    System.out.println(button.getTag());

This example produces the following tag:

    <input type="button" name="button1" value="Press Me" onclick="test()" />