Support is currently limited. See our hours of operation.
Help Desk

Default value in date field


This Ticket is public


Good afternoon. I have a date field in my form and would like to leave it with a default value like "date () + 15" (current date more 15 days).

How can I do this? Tks.


You can accomplish that using this hook:

Good afternoon.

I was left with a doubt ... Is it possible to insert some direct code into the date field, like [date] +7 for example?

What is required will be fixed, and need not be related to the value of a first field, other than the example you indicated.

Sorry about that! No, currently that is not a built in option, so the best way to do it would be to have a hidden field with [date] as the default value, and use the above mentioned code. Does that make sense?

Ticket closed.