A Trigger is an advanced Form component that is used to jump to a particular Field in the current Form when the user presses a particular hardware key on the collection device. It can also be used to enact a jump after a specified timeout. Once declared, a Trigger will apply to the entire Form unless it is contained in a Page, in which case it only applies to that Page.
Assume we are creating a Form which has some Field at the end with ID “lastField”:
1 |
<Trigger jump="lastField" key="VOLUME_DOWN|VOLUME_UP|VOLUME_MUTE" /> |
The trigger allows the user to jump straight to the final Field in the Form by pressing any volume button.
Click here to see the full list of attributes that you can include within the Trigger tag.