The Signature Input Web Control collects a user-drawn signature. It is also possible to gather a typed signature with this control.
Note: the Asset that automatically stores the entered signature will be available throughout the duration of a user's Journey but not beyond.
It is an asset variable where the signature image will be stored.
Defines a value to the aria-label of the control for accessibility. For more information see here.
The initial mode in which the control should be presented. Options are:
- draw - finger drawn signature
- type - typed signature
A Text Variable Data Type will hold the typed version of the signature.
A CSS value for the top margin of the text input in the type mode.
A CSS value for the left margin of the text input in the type mode.
Check Common style properties of web controls for details on how to style this Web Control.
This event is run each time the control receives an input.
Metadata about this event can be accessed through the
TRUE the control will be visible. If
FALSE the control will not be displayed. If the field is empty, the control will be visible.
TRUE the control will be disabled and the user will not be able to interact with the control. If
FALSE the control will be enabled. If the field is empty, the control will be enabled.
To configure a type signature, on the Web Page that will hold the signature input, create two additional variables of type Text:
typed_signature, where the typed signature value will reside and
mode , which will contain the current mode of the Signature Input Control. This variable will be used to toggle the appearance of the text input box.
Add the Signature Input to the Web Page. In Advanced Control Properties , set the Signature value to
typed_signature. Next, click the '+' icon next to the Signature Input and add the Text Input to the control.
Change the Data Binding on the Text Input to
typed_signature. In Advanced set the Is Visible value to:
activity.mode = "type"
On Actions > Value Changed, set
event.mode. The mode will either be "draw" or "type."
This configuration will allow the user to type in a signature instead of requiring the drawn signature.
The signature control can collect a signature at the end of a legal document.
Add a Signature control to a Web Page. Create an Asset on the Web Page. On the Signature control, set the Signature value to the asset created.