# Date Range for Allowed Subscription Start Date

**LFS version:** requires Limio for Salesforce v11.60 or later

**Limio version requirement**: requires Limio v87 or later

In the Limio Acquisition flow users can enable editing a subscription's start date and define the minimum and maximum allowed start dates.

The first step required to enable the new functionality is to change the "**disableStartDate**" property to **false** in the custom metadata record: ic Assist Config -> Subscription Actions -> Edit Config.

<figure><img src="https://3950144701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKxTpA9AeeNYx1ml6UpHj%2Fuploads%2F8okXsK2cm75e1gvpPrGp%2Fimage.png?alt=media&#x26;token=8f18f540-58ff-496c-9514-b29b63dfc473" alt=""><figcaption></figcaption></figure>

Then, in the Limio Acquisition flow, open the Selected Offers Screen, and after clicking on the Limio Selected Offer Table a side panel exposes two Integer properties:

* "Number of days in the future for a maximum allowed start date"
* "Number of days into the past for a minimum allowed start date"

<figure><img src="https://3950144701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKxTpA9AeeNYx1ml6UpHj%2Fuploads%2F6o89IDAIOGinS1jrhzLN%2Fimage.png?alt=media&#x26;token=f4aa8405-3154-4cc1-97e3-e2cfa7adfbb7" alt=""><figcaption></figcaption></figure>

Rules that apply to the start date based on the entered values are the following:

* If the two properties are left blank: there is no date limit
* If the value of the max date is 0: the only allowed start date is today
* if the min date value is 0: the date can equal today or any future date
* if the max date value is > 0: the max allowed date equals today plus the number of days specified
* if the min date value is > 0: the min allowed date equals today minus the number of days specified

An error messages appear on the table row when a user tries to save the edited value as well as on the screen if the user tries to navigate to the next screen with an invalid value:

<figure><img src="https://3950144701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKxTpA9AeeNYx1ml6UpHj%2Fuploads%2FDMWLERLqHPLkERqy3p2w%2Fimage.png?alt=media&#x26;token=4f51de5d-47e9-4ec9-9f8d-5a1e6b7f657c" alt=""><figcaption></figcaption></figure>
