• Resolved david.tonarini

    (@davidtonarini)


    Hi, I am using a date field with Calculated Fields Form.
    The date picker however seems to go only as far as 2005, while I need date up to 1969 to be available. Right now I can manually set the date, but the ajax picker won’t go further than 2005.
    Is there a setting somewhere to change that?
    If not, I’m sure I can fix it by myself if you point me to where the code that generates the calendar is located.
    Kind regards.

    https://wordpress.org/plugins/calculated-fields-form/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Please, select the Date Field, and enters, for the attribute: “Year Range”, the value:

    -60:+10

    and please, let me know if this change in the field’s settings solve your issue.

    Best regards.

    Thread Starter david.tonarini

    (@davidtonarini)

    That’s excellent thank you, thanks to your advice I notice the field year range, and the help on the field is very good. I actually used a combination of fixed time and relative time to get the exact range I need (which is 1969 up to current year).
    By the way, the help does only say to use +nn or -nn for relative ranges. But, as the final value should be the current year, I set it to 1969:+0

    I tried and it seems to work fine, so should I assume that’s a proper setting, or is there any kind of issue I should be aware about? In case that’s not good for some reason, I could just put 1969:+1, that would be not a big issue.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, you have defined the attribute: “Year range” perfectly.

    Thank you very much for sharing your solution.
    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Initial date for a longer time’ is closed to new replies.