• Resolved AntonyL

    (@antonyl)


    Firstly, thank you for writing such a useful plugin – it has saved out charity a great deal of work!

    The only issue I have is the lack of DatePicker control on Date fields. We do not have the skillset here to add it via CSS (assuming that is even possible), but we do need it quite badly. Is there any chance you might be able to provide a DatePicker component in your plugin?

    Regards,

    Antony

    https://wordpress.org/plugins/participants-database/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author xnau webdesign

    (@xnau)

    It’s in the works, but development of new features for the plugin is proceeding very slowly due to my current heavy workload.

    There is a plugin called WP Datepicker that will add datepickers to selected fields on your forms. You just need to install it, then give it a CSS selector for the fields you want the datepicker on.

    Thread Starter AntonyL

    (@antonyl)

    Thanks for the swift reply. Here’s hoping your workload evens out!

    I had given WP DatePicker a try, but it didn’t seem to be working – the picker would display OK, but would not store a value. Is this a known compatibility issue with your plugin, with a known solution?

    Plugin Author xnau webdesign

    (@xnau)

    I don’t know, I’ve never tested it. If the datepicker places the date value in the field, it should be saved with the rest of the form data. If the plugin has settings, check over them to make sure there isn’t anything that might prevent it from working. The Participants Database plugin will accept dates in many formats, but if it doesn’t recognize the input as a valid date, it won’t save it.

    Thread Starter AntonyL

    (@antonyl)

    Ahh, that might be it. I’ll post here next week once I’ve had a chance to verify it. Thanks again!

    I had a similar issue and added the css selector to the datepicker and it worked!

    Thread Starter AntonyL

    (@antonyl)

    Brilliant! There’s hope yet. What theme were you using, in case that matters?

    Plugin Author xnau webdesign

    (@xnau)

    The theme won’t matter, what will matter is making sure you’re giving the datepicker plugin the correct selector so it knows which element to put the datepicker on.

    I am using the Avada theme, but agree that the right selector should work on any theme.

    Thread Starter AntonyL

    (@antonyl)

    Hrmm. It’s only mostly working. The datepicker does display, but it seems incomplete (there are no icons for next/previous month).

    I have tried using the following configurations for WP DatePicker:-

    1) .date_field
    and
    2) #pdb-dob, #pdb-proposedstartdate, #pdb-criminalwhen

    both of which cause the datepicker to appear on the expected date fields, with the behaviour noted above.

    I am using XAMPP 5.6.14 and W PDatePicker 1.2. Does any of this look obviously wrong?

    Thread Starter AntonyL

    (@antonyl)

    Solved: There is an issue with version 1.2 of WP DatePicker. The author is working on a fix, in the mean time there is a development version available for download from the WP DatePicker website.

    Thank you all for your responses.

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

The topic ‘Thank you, and Datepickers’ is closed to new replies.