Take a look at this answer I gave another person about adding days to
dates: Re: Adding Days to a Date.So, depending on whatever value the
user picks from the radio button (90, 180, 365), add that number to a
periodSelect variable, then run a Num2Date call to set the value of the
newDate field. The example below presumes you have a radio button called
radioButton1 with default button values of '0' for 90 days, '1' for 180
days, and '2' for 365 days.Example:var periodSelectvar newDate_Numif
(rad...