selected

Returns selected-state text for form controls.

Target function

Signature

1selected()

Returns selected-state text for form controls.

selected is a global callable that can be used wherever an expression is valid. selected is part of datasource access. Prefer bind values for visitor input, inspect errors during writes, and keep display escaping separate from SQL handling.

Examples

Basic call

1selected
The example shows the call shape; use bind values and checked errors for visitor-supplied data.