returns the number of the field with the text selection or insertion point.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
the selectedField
# Examples
the selectedField
hide the selectedField
# Description
Use the selectedField function to determine which field the selection is in.
If there is no insertion point or text selection, the selectedField function returns empty. Otherwise, the selectedField is the same object as the one specified by the focusedObject function.
# Tags
ui,
# See
- **keyword:** field, selection - **function:** selectedLoc, selectedChunk, focusedObject, number - **glossary:** insertion point, return, object - **control structure:** function