Script or filed calculations to add years to a date field
Posted: 2019-10-22 14:31
Hello,
I have an AppGini project I am using for record storage. I want the destroy date to calculate automatically by calling the date entered for the box packed date and adding the number of years to retain. I have a date select box for both the packed and destroy date and a drop down list of numbers to select the years to retain the box. I would also like the destroy date to change to permanent if it is selected from the retention drop down instead of a year.
packed date + retention years = destroy date
if permanent selected from drop down list instead of a year, display "permanent" instead of destroy date
Thanks,
Neil
I have added a picture of the add a box page:

I have an AppGini project I am using for record storage. I want the destroy date to calculate automatically by calling the date entered for the box packed date and adding the number of years to retain. I have a date select box for both the packed and destroy date and a drop down list of numbers to select the years to retain the box. I would also like the destroy date to change to permanent if it is selected from the retention drop down instead of a year.
packed date + retention years = destroy date
if permanent selected from drop down list instead of a year, display "permanent" instead of destroy date
Thanks,
Neil
I have added a picture of the add a box page: