Your organization may want to limit the dates displayed in a date picker to decrease processing fees incurred with your payment processor or to make it more manageable to track when recurring donations are processed.
- Allow Past Dates (ideal for capturing birth dates)
- Display a maximum amount of days (ideal for when you want to limit future dates)
- Include or Exclude certain dates
- Offset the Start Date (specify the earliest date a donor can select such as 12-day lead time for UK Direct Debit gifts)
Set Date Picker to Allow Past Dates
By default, the date picker will only allow donors to select dates beginning with the current date. However, you can set the date picker to allow donors to select past dates such as when you are asking for a birth date.
To set the date picker to allow past dates, you must first click on the date picker field on the form to select it. Then, from the Properties Panel on the right, look for Plugin Config and click on the Edit Icon beside it.
Set Date Picker to Display a Maximum Amount of Days
There may be instances where you would like to limit the number of future days the donor can select from the date picker such as when a donor is selecting a recurring gift start date.
For example, you might want your donors to select a recurring start date that falls within the next 14 days. This means that by setting the maximum amount of future days to 14, donors won't be able to select a date beyond the next 14 days.
To set the maximum amount of days, you must first click on the date picker field on the form to select it. Then, from the Properties Panel on the right, look for Plugin Config and click on the Edit Icon beside it.
Then enter the number of future days in Max Date (In Days) and click on Save.
Set Date Picker to Include or Exclude Certain Dates
Offset the Start Date
Offsetting the start date means that you are able to specify the earliest date a donor can select from the date picker. This is particularly useful for organizations processing Direct Debit donations within the UK where the start date cannot be earlier than 12 days.
To specify a start offset, you must first click on the date picker on the form to select it. Then, from the Properties Panel on the right, look for Field Plugin and select UK Direct Debit Start Date.