In Salesforce-driven workflows, controlling who can send a document and when it can be sent is critical to maintaining compliance and process accuracy. While eSignature for Salesforce helps businesses accelerate approvals and reduce manual effort, sending documents without proper validation can lead to unauthorized access and workflow errors.
This is where pre-sign validation using DS (Disable Sign) and DSM (Disable Sign Message) parameters becomes essential.
By leveraging Salesforce formula logic and dynamic button configurations, organizations can enforce intelligent signing rules before a document is sent for signature.
In this step-by-step guide, you’ll learn how to implement rule-based validation to create a secure, automated, and compliant eSignature workflow directly within Salesforce.
Before diving into the steps, let’s understand this:
Disable Sign → DS parameter is used to enable or disable the eSignature functionality within the signing workflow.
DS = 1 → Disables the e-signature option
DS = 0 → Enables the e-signature option
Disable Sign Message → DSM parameter is used to display a custom message to users when the e-signature functionality is disabled.
Example: &DSM=Sign is Disabled
Note: DS and DSM parameters can also be used directly without applying any conditions. After successfully completing the SME configuration and creating the Sign Made Easy button, add it to the relevant page layout for user accessibility and create a checkbox formula field on the selected object.
Below are the steps:
Step 1: In Object Manager, open the selected object, go to Fields & Relationships and click New to create a field.

Step 2: Select the Formula radio button as the data type, then click Next.

Step 3: Enter the Field Label, Field Name, and select the Formula Return Type, then proceed.

Step 4: Click Next to continue.

Step 5: Enter the formula for the Disable Sign parameter, then click Check Syntax. For example, if Rating is ‘Hot’, the Disable_Sign__c checkbox will be checked; otherwise, it will remain unchecked.


Step 6: Click Next to continue.

Step 7: Click Next to continue.

Step 8: Click Save to create the checkbox formula field.


Step 9: Edit the Sign Made Easy button by navigating to Object Manager → [Selected Object] → Buttons, Links & Actions. Locate the ‘Sign Made Easy’ button and click Edit to modify its link or behavior.


Step 10: In the button link’s formula section, add the DS and DSM parameters to enable the Disable Sign functionality, then click Check Syntax to validate.

Step 11: Click Save to apply the changes to the button and enable the Disable Sign functionality.


Note: This ensures that the Sign Made Easy button dynamically enforces signing rules: the user can sign only when the DS condition permits it, and if signing is disabled, the DSM message is displayed.
In this case, if the Rating is not ‘Hot’, signing will be disabled and the DSM message (‘Sign is disabled!’) will be displayed to inform the user.
Step 12: When the Rating is ‘Warm’, click the Sign Made Easy button to initiate the signing process.

Since signing is disabled in this case, the DSM message (‘Sign is disabled!’) is displayed, and the signing process does not start.

Step 13: When the Rating is ‘Hot’, click the Sign Made Easy button to start the signing process.

In this case, the DS condition allows signing, so the user can proceed normally without seeing the DSM message, and the Create Transaction interface opens as part of the process.

Conclusion
Validating signing conditions before sending a document is essential for maintaining compliance and preventing unauthorized signatures. By using DS and DSM parameters, Salesforce users can enforce intelligent signing rules that adapt dynamically based on record data, without modifying templates or manual checks.
With eSignature for Salesforce, solutions like Sign Made Easy enable organizations to build secure, rule-based signing workflows directly within Salesforce. By combining validation logic, automation, and Salesforce-native controls, businesses can confidently scale their digital signing processes while maintaining enterprise-grade governance.
Note: While validating documents before sending is crucial, it’s equally important to ensure they remain unchanged after signing. Using tamper-sealing methods helps protect signed documents from unauthorized modifications and ensures long-term integrity.