...
select box height - This property is used to convert the select box to a List Box and displays the choices in a selectable list instead of the dropdown box.
multiple - This specifies that multiple values can be selected from the select box. The default value of the property is 'false'. If set to 'true' the select box will convert to a List Box.
Choices / Choice Values Properties
...
For Rich Display Files the choices parameter values would ususlly usually be bound to a field allowing dynamic SQL selection.
To find more information on the choice selection criteria and choices parameter properties, view the Parameter Markers section here.
Blank Option
The blank option property allows you to provide a option containing blank text before any other choices from the database file are displayed.
...
The choices URL property allows you to use an external program to return your choice options and values by passing them using JSON formatting. A PHP script would be one example of a custom program PHP scripts or Universal Display Files are examples of custom programs used to pass the values to your application. When using the choices URL property, all database-driven auto-complete properties are ignored.
...
These are values returned from an auto-complete select box in a successful response from the external program:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "success":true, "response":[ {"text":"Dishes and Cups", "value":"18"}, {"text":"Soaps", "value":"14"} ] } |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "success":true, "response":[ new Option("Dishes and Cups","18"), new Option("Soaps","14") ] } |
...
If you are unable to get any information to display on your choice URL script you can use the showErrors() API to try and debug the reason the results are unable to display.
showErrors() API Documentation
Example of the showErrors() API displaying JSON error response example:
...