Solved

Default Value in Date field auto-fill from another date field

  • 22 August 2021
  • 2 replies
  • 175 views

Hi all,

 

I have two date fields, the first always requires user input and the 2nd I need calculated from the first by adding 1 year date field 1. Date field 2 may need to be adjusted by the user but i need it to defualt in one year ahead.

 

When using the 'dateadd' function I am not able to select from any Form Controls, i have also attempted to build a form variable however in the Date field i am unable to select my form variables.

 

Sorry if this has been answered but couldnt see any content in the workflow cloud section.

 

Thanks,

Jayce

icon

Best answer by butlerj 23 August 2021, 18:06

View original

2 replies

Userlevel 5
Badge +19

@Jayce while there is not a way to do this using Default Values, you can do this using Form Rules. For example I can give date 1 the value of DateNow(), and then add a year to that using rules (or rules and variables depending on how you want to build it:




or





 


Hope that helps.


 

Thank you @butlerj the 2nd option worked perfectly 🙂

Reply