DhRadioButton.setSubmitName

Overview | Methods | This Package | All Packages

DhRadioButton.setSubmitName

Sets the submit name for this radio button.

Syntax

public void setSubmitName( String strName )

Parameters

strName

The submit name, also known as the group name. Group names must be unique in each document.

Note   The strName parameter cannot contain any spaces; otherwise, an exception is thrown.

Exceptions

WFCInvalidArgumentException thrown if strName is not a valid alignment.

Remarks

DhRadioButton objects within the same group are mutually exclusive; that is, only one can be selected at a given time. Additionally, group names are used for HTTP form submission. This name is used during HTTP form submission as the HTML NAME attribute. 

See Also   getSubmitName