Skip to main content

Interactive forms

20 commands. Toolkit id ooa.forms.

CommandWhat it does
Assign optionsFill a drop-down or choice list with options, e.g. from a list or a data table column.
Change form titleChange the title shown on the form window.
Change labelChange the label of a field or the text of a button or heading.
Close formClose the open form window.
Disable elementGrey out a field or button so it cannot be used (a disabled field is not checked).
Display formShow 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 elementLet the person use a field or button again.
Get field valueRead one field's current value, or all answers when no field is given.
Hide elementHide a field, button or area (a hidden field is not checked).
Hide formMove the open form's window out of the way (minimised to the task bar) while the agent works; its answers are kept.
Highlight elementDraw 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 highlightRemove the highlight from a field or button.
Reset formPut every field back to its designer default (or empty) and clear the messages.
Set dynamic areaReplace 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 valueChange a field's value on the open form.
Set focusPut the cursor in a field (or on a button).
Show elementShow a hidden field, button or area.
Show formBring a hidden (minimised) form back in front of the other windows.
Validate formCheck the answers (required fields, number limits, email addresses, choices) and, if wanted, show the problems next to the fields.
Wait for form eventWait 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).