Support will be limited today, February 20, 2017, in observance of President's day. Click here to see our hours of operation.

Default value in date field

Labels

This ticket is public

Notifications

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.

Hi,

You can accomplish that using this hook: https://formidableforms.com/knowledgebase/frm_validate_field_entry/#kb-calculate-final-date

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.