Multi date time select | WordPress.org

[ad_1]

Hello @itzikn

Thank you very much for using our plugin.

Q: Is it possible to select multiple dates in CFF fields?

A: You must insert multiple Date/Time fields.

Q: Is it possible to set the min and max date dynamic from the code?

A: Yes, that’s possible.

For example, assuming you have the date field fieldname1 and want to set the min and max dates by coding from the equation of a calculated field.

In this hypothetical case, enter a piece of code similar to the following one as part of its equation:


getField(1).set_minDate('12/04/2023')
getField(1).set_maxDate('12/08/2023')

The date format must match the format selected in the field’s settings.

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer