Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

For some types of forms, two sets of dates can have restrictions. On a few forms that I have come across, two date fields are supposed to be within a year of each other. Using some of the logic from Example 5 and validated date fields, we can control this kind of restriction. In the following example, the begin date and end date have to be within 366 days of each other.

The first formula above uses a built in DocuSign formula called DateDiff() to calculate the number of days between the begin date and the end date. The second formula checks whether or not the number of days calculated is greater than 366. If it is, two fields pop up just like in Example 5 that are impossible to fill out. The tooltips for these fields ask that the dates be fixed accordingly. Making the dates within a year causes the impossible fields to disappear again, allowing a user to complete the form.

  • No labels