Calculate end date based on the selection of other field

Community Alums
Not applicable

Hi All, 

 

Having a requirement that, 

On the catalog form we have three fields 

1- Multiple choice  - access required range - 1 day, 1 week, 1 month

2- start date 

3- end date 

 

On the form once the user selects the date range below start date user can select the date (future dates) then in the end date field we need to set the duration based on the access required range. 

 

Ex - if access required is 1 week then of the user select date 10th June then in the end date field we need to set the 1 week duration. 

 

 

Any suggestion to achieve this. 

 

1 REPLY 1

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Community Alums ,

 

use addDaysLocalTime(1); using glideajax and onchange client script you can attain this...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect