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

SubmitFormInput class

Start changeThe SubmitFormInput class represents a submit button input type in an HTML form.

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

    SubmitFormInput submit = new SubmitFormInput();
    submit.setValue("Send");
    System.out.println(submit.getTag());

The code example above generates the following output:

<input type="submit" value="Send" />

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

End change