Interactive forms
20 commands. Toolkit id ooa.forms.
| Command | What it does |
|---|---|
| Assign options | Fill a drop-down or choice list with options, e.g. from a list or a data table column. |
| Change form title | Change the title shown on the form window. |
| Change label | Change the label of a field or the text of a button or heading. |
| Close form | Close the open form window. |
| Disable element | Grey out a field or button so it cannot be used (a disabled field is not checked). |
| Display form | Show a form from the form designer to the person at the runner. Wait until they submit it, press a button or close it; or keep it open and go on, reacting to it with Wait for form event. |
| Enable element | Let the person use a field or button again. |
| Get field value | Read one field's current value, or all answers when no field is given. |
| Hide element | Hide a field, button or area (a hidden field is not checked). |
| Hide form | Move the open form's window out of the way (minimised to the task bar) while the agent works; its answers are kept. |
| Highlight element | Draw attention to a field or button with a coloured outline, in your own colour or as a warning or error, optionally with a message under it. |
| Remove highlight | Remove the highlight from a field or button. |
| Reset form | Put every field back to its designer default (or empty) and clear the messages. |
| Set dynamic area | Replace what a dynamic area on the form shows with new fields, e.g. one line per invoice found. Their answers are read like any other field. |
| Set field value | Change a field's value on the open form. |
| Set focus | Put the cursor in a field (or on a button). |
| Show element | Show a hidden field, button or area. |
| Show form | Bring a hidden (minimised) form back in front of the other windows. |
| Validate form | Check the answers (required fields, number limits, email addresses, choices) and, if wanted, show the problems next to the fields. |
| Wait for form event | Wait until the person presses a button, changes a field, submits or closes the open form; then react to it (e.g. in an If on the event and element). |