App Kiosk Mode
The App Kiosk Mode is designed for providing the possibility to let unauthorized persons fill out Forms in a secure way. In "single"-App Kiosk Mode an authorized person has to open a new Form, switch to App Kiosk Mode and then pass along the device to another person. To unlock the kiosk mode a PIN is required. In "sequential"-App Kiosk Mode once it is activated, one Form after another is opened without leaving the App Kiosk Mode.
Formdefinition​
To enable the App Kiosk Mode a new App Kiosk Mode var tag has to be set within the Form tag:
<var data-hf-name="AppKioskMode" ... ><var>
There are several configuration options:
Property | Options/Type | Description |
---|---|---|
data-hf-unlockcode* | number | Defines the PIN. Only numbers are allowed. |
data-hf-locktime* | number | Defines the App Kiosk Mode lock time in minutes. After n minutes the Kiosk Mode would be locked. |
data-hf-kioskmode* | Enum: single | Defines the App kiosk mode type: Single means that the App Kiosk Mode is activated on the formpage. |
data-hf-kioskapprovelabel | string | Defines the wording of the App Kiosk Mode approve label. |
data-hf-data-hf-kiosklocklabel | string | Defines the wording of the App Kiosk Mode lock label. |
data-hf-kioskactivatefeatures | boolean | Defines if the Form-activated App features (camera, sketches, map etc.) are also activated in the App Kiosk Mode. |
data-hf-kioskshowpinonlock | boolean | Defines if PIN is shown to the user when the App is about to be locked in App Kiosk Mode (only single Kiosk Mode). |
* These options are required
...
<form>
<var
data-hf-name="AppKioskMode"
data-hf-kioskmode="single"
data-hf-kioskunlockcode="123456"
data-hf-kiosklocktime="1"
data-hf-kioskapprovelabel="Approve"
data-hf-kioskactivatefeatures="false"
data-hf-kioskshowpinonlock="false"
>
</var>
</form>
...
Condition​
For handling which pages, tabs, blocks or Condition
areas are used within an active App Kiosk Mode, the condition expression type kiosk
will be used. For further information on the topic of Conditions and how to use them, click here.
<form>
...
<li
data-hf-title="Repair"
data-hf-condition='{
"cond": [
{
"type": "kiosk",
"val": false
}],
"else": "disabled"
}'
>
<a href="#repair-block1"></a>
<a href="#repair-block2"></a>
</li>
<li>...</li>
</form>
<div
id="invisible-control-kiosk"
data-hf-control="Condition"
data-hf-condition='{
"cond": [
{ "type": "kiosk", "val": true }
],
"else": "invisible"
}'
>
...
</div>
Server​
- The App Kiosk Mode state is only stored on the client.
- The synchronization is stopped when the App Kiosk Mode is enabled. Data would only be stored on the device. When App Kiosk Mode is disabled, synchronization will be triggered.
PDF Rendering​
- The PDFs will be rendered normally, even if the Kiosk Mode is active.