I have a JavaScript problem can someone help?
I will explain what I need. I have two different checkboxes and I need everything to work depending on which one is checked. I also have another box where a date of some sort will be. Then I have the last box where I need the output. The output needs to be 20 or 26 months more than the date box depending on which checkbox is clicked.
Check box names -- "Checkbox1" , "Checkbox1" (Checkbox1 is for men and Checkbox2 is for women)
Name of the date box -- "Date1" (date format is dd.mm.yyyy)
Output box name -- "Dateleaving"
For example, if "Checkbox1" is checked and the value of "Date1"= 26.01.2024, then "Dateleaving"=26.03.2026
If there are futher question let me know.
