Tab
All of the property values are passed through as-is to the eSignature REST API. For more information regarding how to construct and use envelope recipient tabs, refer to Envelope Recipient Tabs on the Docusign Developer Center.
Properties
anchorComponentTypeconditioncustomTabIddataLabel Corresponds with the tabLabel API property.
groupDataLabelsdataLabel to this array. Corresponds to the tabGroupLabels API property.
guidedFormid Corresponds with the tabId API property.
nameorder Tabs on a page are navigated to in ascending order, starting with the lowest number and moving to the highest. If two or more tabs have the same order value, the normal auto-navigation setting behavior for the envelope is used.
Corresponds to the tabOrder API property.
positionsmartContracttabTypetooltipTypeMethods
withAnchor
anchor property.anchor value.anchorwithCondition
condition property.condition value.conditionwithGroupDataLabels
withGuidedForm
guidedForm property.guidedForm value.guidedFormwithPosition
position property.position value.positionwithSmartContract
smartContract property.smartContract value.smartContractTab.Position
Properties
documentSequence Corresponds to the documentId API property.
heightpageNumberwidthxTo improve the tab's position on the document, Docusign recommends adjusting the X and Y position coordinates by (-3, -2).
Corresponds to the xPosition API property.
yTo improve the tab's position on the document, Docusign recommends adjusting the X and Y position coordinates by (-3, -2).
Methods
Position
documentSequencepageNumberxywidthheightTab.Anchor
Properties
allowWhiteSpace Corresponds to the anchorAllowWhiteSpaceInCharacters API property.
caseSensitivetrue, the text string in a document must match the case of the text property for an anchor tab to be created. The default value is false. Corresponds to to the anchorCaseSensitive API property.
horizontalAlignmentleft: Aligns the left side of the tab with the beginning of the first character of the matching anchor word. This is the default value.right: Aligns the tabs left side with the last character of the matching anchor word.
Corresponds to to the anchorHorizontalAlignment API property.
ignoreIfNotPresenttrue, this tab is ignored if the text is not found in the document. Corresponds to to the anchorIgnoreIfNotPresent API property.
matchWholeWordtrue, the text string in a document must match the value of the text property in its entirety for an anchor tab to be created. The default value is false. Corresponds to the anchorMatchWholeWord API property.
text Corresponds to the anchorString API property.
unitsxOffset and yOffset properties. Valid units are: pixelsinchesmmscms
Corresponds to the anchorUnits API property.
xOffsetunits relative to the text.yOffsetunits relative to the text.Methods
Anchor
textallowWhiteSpacecaseSensitivetrue, the text string in a document must match the case of the text property for an anchor tab to be created. horizontalAlignmentignoreIfNotPresenttrue, this tab is ignored if the text is not found in the document. matchWholeWordtrue, the text string in a document must match the value of the text property in its entirety for an anchor tab to be created. unitsxOffset and yOffset properties xOffsetunits relative to the text. yOffsetunits relative to the text. Tab.GuidedForm
Properties
orderpageLabel, the group by which to place the guided form HTML block. Corresponds to the formOrder API parameter.
pageLabelglobal String pageLabelThe group in which to place the guided form HTML. Each group displays as a separate guided forms page in the signing experience. Corresponds to the formPageLabel API parameter.
pageNumberglobal Integer pageNumberThe order in which to present the guided form pages. Corresponds to the formPageNumber API parameter.
Methods
MethodsGuidedForm
DescriptionConstructs tab guided form settings.Parametersorderfinal Integer orderThe order in which the guided form HTML should render. The order is relative to the pageLabel, the group by which to place the guided form HTML block. pageLabel final String pageLabelThe group in which to place the guided form HTML. Each group displays as a separate guided forms page in the signing experience. pageNumber final Integer pageNumberThe order in which to present the guided form pages. Tab.Condition
Tab.Conditionglobal class ConditionDescriptionConditional tab settings.Properties
parentDataLabelglobal String parentDataLabel For conditional fields this is the dataLabel of the parent tab that controls this tab's visibility. Corresponds to the conditionalParentLabel API parameter.
parentValueglobal String parentValueFor conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a checkbox, radio button, optional sign here, or optional initial here use "on" as the value to show that the parent tab is active.
Corresponds to the conditionalParentValue API parameter.
Methods
MethodsCondition
DescriptionConstructs conditional tab settings.ParametersparentDataLabelfinal String parentDataLabelFor conditional fields this is the dataLabel of the parent tab that controls this tab's visibility. parentValue final String parentValueFor conditional fields, this is the value of the parent tab that controls the tab's visibility. Tab.Formatting
Tab.Formattingglobal class FormattingDescriptionTab formatting settings.Properties
bold@AuraEnabled global Boolean bold When set to true, the information in the tab is bold.color@AuraEnabled global String colorThe font color to use for the information in the tab. Possible values are: - Black
- BrightBlue
- BrightRed
- DarkGreen
- DarkRed
- Gold
- Green
- NavyBlue
- Purple
- White
Corresponds to the fontColor API parameter.
concealValue@AuraEnabled global Boolean concealValue When set to true, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is only available to the sender through the Form Data link in the Docusign Console. The information on the downloaded document remains masked by asterisks.
This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.
Corresponds to the concealValueOnDocument API parameter.
fixedWidth@AuraEnabled global Boolean fixedWidth When set to true, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. Corresponds to the fixedWidth API parameter.
font@AuraEnabled global String fontThe font to be used for the tab value. Supported fonts include: - Default
- Arial
- ArialNarrow
- Calibri
- CourierNew
- Garamond
- Georgia
- Helvetica
- LucidaConsole
- MSGothic
- MSMincho
- OCR-A
- Tahoma
- TimesNewRoman
- Trebuchet
- Verdana
italic@AuraEnabled global Boolean italic When set to true, the information in the tab is italicized.size@AuraEnabled global Integer size The font size in points used for the information in the tab. Possible values are: 7, 8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48 and 72.. Corresponds to the fontSize API parameter.
underline@AuraEnabled global Boolean underline When set to true, the information in the tab is underlined.Methods
MethodsFormatting
global Formatting( final String font, final String color, final Integer size, final Boolean bold, final Boolean italic, final Boolean underline, final Boolean concealValue, final Boolean fixedWidth )DescriptionConstructs tab formatting settings.Parametersfont final String fontThe font to be used for the tab value. color final String colorThe font color to use for the information in the tab. size final Integer sizeThe font size in points used for the information in the tab. bold final Boolean boldWhen set to true, the information in the tab is bold. italic final Boolean italicWhen set to true, the information in the tab is italicized. underline final Boolean underlineWhen set to true, the information in the tab is underlined. concealValue final Boolean concealValueWhen set to true, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. fixedWidth final Boolean fixedWidth When set to true, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes. Tab.Validation
Tab.Validationglobal class ValidationDescriptionTab validation settings.Properties
errorMessage@AuraEnabled global String errorMessageThe message displayed if the custom tab fails input validation. Corresponds to the validationMessage API property.
maximumLength@AuraEnabled global Integer maximumLengthAn optional value that describes the maximum length of the property when the property is a string. Corresponds to the maxLength API property.
pattern@AuraEnabled global String patternA regular expression used to validate input for the tab. Corresponds to the validationPattern API property.
Methods
MethodsValidation
DescriptionConstructs tab validation settings.ParametersmaximumLengthfinal Integer maximumLengthAn optional value that describes the maximum length of the property when the property is a string. pattern final String patternA regular expression used to validate input for the tab. errorMessage final String errorMessageThe message displayed if the custom tab fails input validation. Tab.PathComponent
Tab.PathComponentglobal class PathComponentDescriptionTab merge field path component.Methods
MethodsTab.MergeField
Tab.MergeFieldglobal class MergeFieldDescriptionContains the information necessary to map the tab to a field in SalesForce.Properties
path@AuraEnabled global String pathThe path to the Salesforce merge field. Used when Docusign Connect for Salesforce is configured on the account.pathExtended@AuraEnabled global List<PathComponent> pathExtendedThe extended path to the Salesforce merge field. Used when Docusign Connect for Salesforce is not configured on the account.rowglobal Integer rowSpecifies the row number in a Salesforce table that the merge field value corresponds to.senderReadOnly@AuraEnabled global Boolean senderReadOnly When true, the sender cannot modify the value of the mergeField tab during the sending process. Corresponds to the allowSenderToEdit API property.
writeBack@AuraEnabled global Boolean writeBack When true, data entered into the merge field during Signing will update the mapped Salesforce field.Methods
MethodsMergeField
global MergeField( final String path, final List<PathComponent> pathExtended, final Integer row, final Boolean writeBack, final Boolean senderReadOnly )DescriptionConstructs a Salesforce merge field.Parameterspath final String pathThe path to the Salesforce merge field. pathExtended final List<PathComponent> pathExtendedThe extended path to the Salesforce merge field. row final Integer rowSpecifies the row number in a Salesforce table that the merge field value corresponds to. writeBack final Boolean writeBackWhen true, data entered into the merge field during Signing will update the mapped Salesforce field. senderReadOnly final Boolean senderReadOnly When true, the sender cannot modify the value of the mergeField tab during the sending process. Tab.Collaboration
Tab.Collaborationglobal class CollaborationDescriptionTab collaboration settings.Properties
canCollaborate@AuraEnabled global Boolean canCollaborate When set to true, this custom tab is collaborative. Corresponds to the shared API property.
required@AuraEnabled global Boolean required When set to true and canCollaborate is true, information must be entered in this field to complete the envelope. Corresponds to the requireAll API property.
requireInitialOnChangeglobal Boolean requireInitialOnChange Optional element for field markup. When set to true, the signer is required to initial when they modify a collaborative field. Corresponds to the requireInitialOnSharedChange API property.
Methods
MethodsCollaboration
global Collaboration(final Boolean canCollaborate, final Boolean required, final Boolean requireInitialOnChange)DescriptionConstructs tab collaboration settings.ParameterscanCollaboratefinal Boolean canCollaborateWhen set to true, this custom tab is collaborative. required final Boolean requiredWhen set to true and canCollaborate is true, information must be entered in this field to complete the envelope. requireInitialOnChange final Boolean requireInitialOnChangeOptional element for field markup. When set to true, the signer is required to initial when they modify a collaborative field. Tab.SmartContract
Tab.SmartContractglobal class SmartContractDescriptionTab smart contract settings.Methods
Methods