selected
Returns selected-state text for form controls.
Target
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
1selectedThe example shows the call shape; use bind values and checked errors for visitor-supplied data.