Participant
August 14, 2025
Answered
Formula for 90 days and IF radio button selected
- August 14, 2025
- 2 replies
- 165 views
I need help formatting the following scenario:
90 days from the date entered, if radio button DOB is selected.
I have the formula to do 90 days, but can't figure out the "If DOB is selected"
var date = util.scand("mm/dd/yy", event.value);
if(event.value == "")
this.getField("90days").value = "";
else {
date.setDate(date.getDate() +90);
this.getField("90days").value = util.printd("mm/dd/yy", date);}
