Summary
The command
\field
is used for interactive fields such as input lines, text boxes, radio buttons, text boxes, check boxes, and maybe more.
Settings
|
Option
|
Explanation
|
| name |
a defined field, from \definefield |
| text |
purpose yet to be described. |
Description
Examples
Example 1
From Jean-Pierre Delange on the mailing list:
-
\setupinteraction[state=start]
\setupfield [TextFieldSetup]
[frame=on, width=8cm, height=1.2em,
background=color, backgroundcolor=lightgray]
\definefield [UserName] [line] [TextFieldSetup]
Please enter your name: \blank[small]
\field[UserName]
-
Notes
-
By Zsd on 2026-05-21T19:42:25+0000
:
-
\setupinteraction[state=start]
is needed for fields to show up and function.
See also
Help from ConTeXt-Mailinglist/Forum