Toggle menu

Signature

This field provides a canvas area on your form that can be "signed" either using a mouse or on touchscreen device. The field's value is a base64 encoded string which represents the image. The SIGNATUREFIELD Handlebars helper can be used to decode the base64 string and embed the image into emails, PDFs, or display later in the form.

The stored signature is classed as a Simple Electronic Signature (SES).

Properties

LabelDescriptionType Name
LabelThe label for this fieldLABEL
Show LabelWhether to show the label for this field or not. This property adds/removes a class on the field's label element. The styling itself is controlled by the site's stylesheetSHOWLABEL
HintAdditional information displayed alongside the field to assist the user in completing it. The value of another field can be used by adding the field's name between # characters. See Common Field Properties for more informationHINT
RequiredWhether or not the field is required to have a value to pass validationREQUIRED
Error MessageThe error message that will be displayed if this field fails its validationERRMSG
Error Message FunctionA function that can be used to override the default error message. You can return a different message for each error type. The message can include the value of another field by adding the field's name between # characters. See Error Message Functions for more information.

This field has the following error types:
 
  • REQUIRED - the field is required but has been left blank
  • VALIDATIONFUNCTION - the result of a custom validation function failing (validation function can also return custom error types)
ERRMSGFUNC
Start LabelThis button expands the canvas so the user can enter their signature. Default "Add Signature"STARTLABEL
Start Aria LabelAn optional aria-label (opens new window) that can be output to improve accessibility where the normal label is not enough. If you don't enter a value, the aria-label attribute won't be outputSTARTARIALABEL
Cancel LabelThe label of the cancel button when a user is adding their signature. If a signature hasn't been confirmed yet, this button resets the field. if a signature is being edited, this button discards those edits and reloads the previous valueCANCELLABEL
Cancel Aria LabelSee the description of the "Start" buttonCANCELARIALABEL
Clear LabelThe button label to clear the canvasCLEARLABEL
Clear Aria LabelSee the description of the "Start" buttonCLEARARIALABEL
Confirm LabelThe button label to save the current contents of the canvasCONFIRMLABEL
Confirm Aria LabelSee the description of the "Start" buttonCONFIRMARIALABEL
Edit LabelThe button label to edit an existing signatureEDITLABEL
Edit Aria LabelSee the description of the "Start" buttonEDITARIALABEL
Remove LabelThe button label to remove an existing signature and restore the field to its initial stateREMOVELABEL
Remove Aria LabelSee the description of the "Start" buttonREMOVEARIALABEL
Canvas WidthThe canvas (signing area) width in pixelsCANVASWIDTH
Canvas HeightThe canvas (signing area) height in pixelsCANVASHEIGHT
Validation FunctionA JavaScript function that can be used to provide custom field validation whenever the field value changes or the form is submitted. This function will be executed client-side, provided JavaScript is enabled in the browser, and repeated server-sideVALFUNC
Default FunctionA JavaScript function that can be used to calculate the default field value. This function is executed server-side when the field HTML is generatedDEFFUNC
HandlersA JavaScript function that is executed client-side whenever the page loads, or the field value changes. This function is useful for modifying the values of other fields based on an entered valueHANDLERS
Read OnlyDisplay the field as read onlyREADONLY
Additional Styling ModifierAn optional CSS modifier for the field. See Common Field Properties for an exampleADDITIONALSTYLINGMODIFIER
DocumentationAdd documentation to your field to help explain any complex functionality to future users. You might include information on what the field does and how it relates to other fields on the form. Notes added here are only ever visible in the Forms Designer, they can be searched for, viewed and downloaded from the action panel. See Common Field Properties for an exampleDOCUMENTATION

Example