Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The form has 2 fields of date fields

  • field d1
  • field d2

 


This form sets the value for field d2 to 15 days AFTER the d1 


How the form looks like in the editor

Image Added

and the rule that sets the date in particular

Image Added

Image Added

With "values to set" parameter set to

Code Block
d2=([entry.d1.timestamp] +1296000000)

where 1296000000 is really 15*86400000 (15 days multiplied by milleseconds per day)


ConfiForms Form Definition
formNamef
true

 

d1d1date

d2d2date

d1:[empty]d1=[now]Set value

!d1:[empty]d2=([entry.d1.timestamp] +1296000000)Set valued1 


Storage format for the solution

...