WPIntell

Source evidence

Datepicker on checkout

jQuery UI Widgets · support · 2015-12-09T20:39:00+00:00

complaintsentiment
highseverity
0.96relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 35 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Tooster unresolved
Hi, I’ve been reading and trying but no luck. I’m trying to add a datepicker to checkout but only the input field is showing and the datepicker itself is not showing. code in your plugin: jQuery(document).ready(function($) { $( "#vertrek_datum" ).datepicker(); }); html on checkout page: <p class="form-row form-row form-row form-row-first validate-required woocommerce-invalid woocommerce-invalid-required-field" id="vertrek_datum_field"> <label for="vertrek_datum" class="">Vertrekdatum <abbr class="required" title="verplicht">*</abbr></label> <input type="text" class="input-text hasDatepicker" name="vertrek_datum" id="vertrek_datum" placeholder="Vertrekdatum" value=""> </p> It seems to add the hasDatepicker class but it’s not showing. I unchecked everything except: Core UI Datepicker Can you help me to get this working? I’ve been at it for a couple of days … https://wordpress.org/plugins/jquery-ui-widgets/ @tooster The plugin merely enqueues the required jQuery UI scripts. The actual jQuery is down to you. I can’t help debug specific cases in the free plugin. Have you checked for JS errors? If you have any then that will prevent jQuery from loading properly. Have you a site URL for the page in question? If you still need help please contact me here: http://wpgothemes.com/contact-us/ I understand that you can’t help debug specific cases. I Have checked for JS errors but there are none.. adding the datepicker inline on a div does work so I did it like that. URL: stage.skili.be location of datepicker is at checkout OK, glad you got it sorted. 🙂

Comments

3 shown
David Gwyer 2015-12-10T09:40:00+00:00

@tooster The plugin merely enqueues the required jQuery UI scripts. The actual jQuery is down to you. I can’t help debug specific cases in the free plugin. Have you checked for JS errors? If you have any then that will prevent jQuery from loading properly. Have you a site URL for the page in question? If you still need help please contact me here: http://wpgothemes.com/contact-us/

Tooster 2015-12-11T21:11:00+00:00

I understand that you can’t help debug specific cases. I Have checked for JS errors but there are none.. adding the datepicker inline on a div does work so I did it like that. URL: stage.skili.be location of datepicker is at checkout

David Gwyer 2015-12-12T09:24:00+00:00

OK, glad you got it sorted. 🙂