Deadlines, reminders and earliest start dates are often some days or months before another date. Counting back by hand is easy to get wrong across months and years, and Google Forms has no option to do it. With Formfacade, you use the SUBTRACT function in the Calculate option of a date question, and your users see the new date as soon as the first date is there.
Create your form and follow the steps below.
- On the page that opens, name your form, click Build form and click Proceed.
- Click on the "Edit" tab.
- Click on the + icon (Add field) in the toolbar on the right.
- Enter "Input date" as the question and select Date in the question type list
- Click on the + icon again
- Enter "Subtract 7 days from input date" as the question and select Date in the question type list
Click on the ⚙️ icon at the bottom right of the question.
Select the "Answer" tab.
You can subtract days from a date by specifying "days" as the term in the SUBTRACT function.
Syntax:
subtract(number_of_days, "days")
Example usage:
TODAY().subtract(30,"days")
Inputdate.subtract(7,"days")
Note: To enter Inputdate, type @ in the calculate option and select the Input date question from the list.
Write the formula in the Calculate option as shown below. Click Save.
You can subtract months from a date by specifying "months" as the term in the SUBTRACT function.
Syntax:
subtract(number_of_months, "months")
Example usage:
TODAY().subtract(6,"months")
Inputdate.subtract(2,"months")
Add another date question the same way, click on the ⚙️ icon and write the formula in the Calculate option as shown below. Click Save.
You can subtract years from a date by specifying "years" as the term in the SUBTRACT function.
Syntax:
subtract(number_of_years, "years")
Example usage:
TODAY().subtract(1,"years")
Inputdate.subtract(5,"years")
Add another date question the same way, click on the ⚙️ icon and write the formula in the Calculate option as shown below. Click Save.
As soon as the user enters the input date, the form shows the new dates.
If you need a date that is some days, months or years before another date, Google Forms cannot calculate it. With Formfacade, you can use the SUBTRACT function in the Calculate option and the new date will be displayed as soon as the user enters the first date.
Create your form and complete the steps above. If you have any questions,
write to support.