• Resolved itzikn

    (@itzikn)


    hi,

    1. Is it possible to select multiply date in cff fields ?
    2. Is it possible to set the min and max date dynamic from code ?
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    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.

    Thread Starter itzikn

    (@itzikn)

    thanks for the answer.

    Where i can find the multiple date time fields ?

    where i can find all the full document of the getField function and other document ?

    Plugin Author codepeople

    (@codepeople)

    Hello @itzikn,

    There is no multi-date control. If you need the users to select multiple dates, you must insert multiple date controls in the form.

    The getField operation is included in the “Managing Fields Operations” module:

    https://cff.dwbooster.com/documentation#managing-fields-module

    Best regards.

    Thread Starter itzikn

    (@itzikn)

    I don’t see any document for example about set_maxDate , where i can find it ?

    Plugin Author codepeople

    (@codepeople)

    Hello @itzikn

    I’m sorry, but the set_minDate and se_maxDate are internal properties of the date control, and each control has its own methods. The internal methods are not documented in the plugin website.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multi date time select’ is closed to new replies.