Sign tags are placeholders that specify where users can input information or signatures within your document templates. This guide explains the structure, parameters, and usage of sign tags.
β
General Format
The general format of a sign tag is:
<<=sign(TYPE, LABEL, WIDTH, HEIGHT, PARAMETERS)>>
Components of a Sign Tag
TYPE: Specifies the kind of element to insert. Required. Possible values:
textsignaturedateradiocheckbox
LABEL: Text displayed alongside the element. Required, but can be empty (
"").WIDTH: Element width in pixels. Optional.
HEIGHT: Element height in pixels. Optional.
PARAMETERS: Additional data required by certain types, particularly
radio. For radios, it specifies the available options, e.g.,["option 1", "option 2", "option 3"]. Required forradioonly.
Examples
Text Field
<<=sign("text", "my text field", 300, 40)>>Signature Field
<<=sign("signature", "my signature field")>>Date Field
<<=sign("date", "my date field", 300, 40)>>Radio Buttons
<<=sign("radio", "my radio field", ["my option 1", "my option 2"])>>Checkbox
<<=sign("checkbox", "my checkbox field", 300, 40)>>
Additional Notes
WIDTH and HEIGHT are optional, but recommended for consistent formatting.
PARAMETERS are only needed for radio buttons to define selectable options clearly.
By following these guidelines, you can effectively utilize sign tags within your document templates to capture necessary user inputs and signatures.