# Text_input

The text_input item collects a single line of text. The following options are available:

- Question is a message that is presented above the input field.

- Maximum line width is the width of the input field. Longer text is spread over multiple lines.

- Draw frame indicates if a rectangular frame should be drawn around the input field.

- Frame width indicates the thickness of the frame (if enabled).

- Foreground color should be an English color name (e.g., 'blue') or an HTML color value (e.g., #0000FF).

- Background color should be an English color name (e.g., 'blue') or an HTML color value (e.g., #0000FF).

- Font family is mono, sans or serif.

- Font size reflects the size of the font in points.

- Accept on indicates whether the user input should be accepted after a Return (Enter) key press, a specified interval (timeout) or after one of both.

- Timeout indicates the timeout value. This is applicable only if Accept on is set to timeout or return press or timeout.

Variables

- response contains the line of the text that the participant has entered.

- response_time contains the time between the start of the response interval and the first key press.