Configuring the widget with data attributes
The widget's behaviour is controlled entirely with HTML attributes on the <form> — no JavaScript required.
data-veritus
required
Form type: signup, login, password-reset, contact
data-on-block
show-message
show-message, redirect, silent, or a function name
data-on-review
allow
allow (submit) or block (hold)
data-on-fail
allow
Behaviour if the service is unreachable: allow, block, review
data-block-message
default text
Custom message text or an element ID
data-extra-fields
—
Comma-separated extra field names to include
data-form-id
auto
Override the form identifier used in metrics
For example, data-on-review="block" holds borderline signups for manual review instead of letting them through, and data-on-fail="block" makes the form fail-closed.

0 comments
Sign in with your TDesk account to comment.