|Top Previous Next|
This function will add a selection field to the form that is currently being constructed.
The selection field must contain 1-30 options that are added with navFormAddOption.
It supports both single selection (radio buttons) and multiple selections (check boxes).
The selected options can be read from a received form by using navFormReceiveReadSelect.
id : DINT (1..2147483647)
Unique ID to identify the field.
title : STRING
The title of the field. Max. 50 characters.
desc : STRING
The description of the field to show below the title while no value has been entered. Max. 60 characters.
required : BOOL (default FALSE)
Set to true to make the field required.
multi : BOOL (default FALSE)
Set to true to allow selection of multiple options.
FUNCTION navFormAddSelect : INT;