npsButton

Using submit buttons, the user can jump to the previous or the next dialog in the dialog sequence or cancel the operation (i. e. the wizard). A submit button can be generated using the following element in two variants:

<npsButton name="Name" value="Title" inButtonArea="Placement" verify="Validation" />
<npsButton name="Name" image="Image File" inButtonArea="Placement" verify="Validation" />

The tag attributes have the following meaning:

  • Name specifies the name of the button by which its function is defined.

  • Title (if image has not been specified) defines the button’s label text. value needs not be specified for the button names back, next, execute, cancel, close and ok since the GUI uses the corresponding localized values in these cases. This value is displayed by the browser as label.

  • Image File (if value has not been specified) defines the name of an image file that is to function as a button with which the user can execute the function specified in name. The file is expected to be located in the current scheme directory (below themes in the GUI web application of the instance concerned).

  • Placement specifies whether the button is displayed in the bottom area of the wizard page (true) or in place of the npsButton tag (false, the default setting).

  • Validation (from Version 6.7.1) specifies whether the GUI is to validate the form fields when the button is clicked (true, the default setting) or not (false). The default value for the buttons named back, cancel, and close is false.

Next to the tag attributes specified, any numer of additional attributes can be specified in the npsButton tag. These attributes are taken over into the generated input tag.