Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @chefpanda123 !

    The shortcode alone won’t guarantee that the date picker will display. What the plugin does is to convert an already existing normal text input into a date picker field. So you need to already have a form in the page and the CSS selector should be of the field you want to convert into a date picker field.

    The link to the page you shared is protected with a password, so I couldn’t check, does the form already exist on the live site? Or is it possible to open the page you shared so I can check?

    I see you’re using contact form 7 on the contact page:
    https://www.chefpanda.pt/suporte/
    To convert a text input from this (or other) contact form, you would use this approach: https://cmoreira.net/blog/date-and-time-picker-field-on-contact-form-7/

    Hope the information helps.
    Greetings, Carlos

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Ok, I thought I could create the datepicker with this plugin itself. My end goals is to create a datepicker like this: https://imgur.com/a/dks54M8

    I believe I can create a form with a plugin like Product Input Field: https://www.tychesoftwares.com/docs/docs/product-input-fields-for-woocommerce/general-settings/, if need be.

    Best regards,
    Ricardo

    Hi @chefpanda123 the picker will always need an input field. That’s the way that the date will also be saved/sent. It seems the plugin you mentioned would do the job, yes.

    To have the date time picker display all the time, the plugin currently doesn’t have that option (might come in a future update), but if you’re able to add some custom javascript to the page, this would do it:

    jQuery('#cm-datetimepicker').datetimepicker('setOptions',{
    	inline:true,
    });

    Where ‘#cm-datetimepicker’ is the selector you choose, which can be different.

    Hope it helps.
    Greetings, Carlos

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Thanks, will try that!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Date picker does not show up’ is closed to new replies.