You are viewing limited content. For full access, please sign in.

Question

Question

Setting Current Date as Max Date for Calendar Field

asked on February 21, 2024

I'm facing an issue with Laserfiche Cloud Forms Designer. I need to dynamically set the max date for a calendar field to the current date. I've attempted using traditional JavaScript and LFForm.changeFieldSettings, but so far, no success.

0 0

Answer

SELECTED ANSWER
replied on February 21, 2024

You should be able to do it via Field Rules:

0 0
replied on February 21, 2024

Thanks, that works!

1 0

Replies

replied on February 22, 2024

We are adding common dynamic min/max dates just like this in march's cloud release! You can definitely use field rules right now for current date, but starting next month you will be able to use today/tomorrow or relative dates based on either of those two options. I.e., no earlier than 1 month from today

3 0
replied on February 21, 2024

Thanks, that works!

You are not allowed to follow up in this post.

Sign in to reply to this post.