FORM [FormTool]

Manages opening and closing of forms.

startForm(String action, String formId)

Get the opening tag for a form.

action
The path to the action that is handling the form (e.g. /cemain/do/ login).
formId
The id/name of the form (they will be the same).

Returns: The open tag for the form and any standard hidden elements.

startForm(String action, String formId, String formName)

Get the opening tag for a form.

action
The path to the action that is handling the form (e.g. /cemain/do/ login).
formId
The id of the form.
formName
The name of the form.

Returns: The open tag for the form and any standard hidden elements.

endForm()

Close out a form.

Returns: The form closing tag.