foundField

returns the field in which text was located by the most recent find command.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

the foundField

# Examples

the foundField

if word 2 of the foundField is the number of field 1 then findItAgain

select the text of the foundField

# Description

Use the foundField function after a find command to determine where the text was found.

The foundField function is cleared when the text selection moves into the foundField or when the current card is closed. At the same time, the box the find command draws around the found text disappears. If there is no box, the foundField function returns empty.

# Tags

# See

- **keyword:** field, selection - **command:** find - **function:** number - **control structure:** function - **glossary:** property, current card, command, return