Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

0 votes
0 answers
63 views

How to get datepicker to show today's date in a new form using php

I'm using PHP 8.2 and datepicker. I have a form. It has two date fields, which both use the datepicker class. When the page loads, the form is empty (new record). But, the date fields default to 1970-...
John Cowan's user avatar
  • 1,694
0 votes
1 answer
54 views

Displaying a custom woocommerce cart fee based on a custom datepicker field selection

Party Rental Equipment website. Using the JQuery datepicker in 3 woocommerce_form_field, one for Event Date, One for Delivery Date, and one for Pickup Date. I am trying to charge a $440 extra fee if ...
dtheyer's user avatar
0 votes
1 answer
38 views

Compare value of jQuery Datepicker with the value of an Advanced Custom Fields field [duplicate]

I have a page with a jQuery Datepicker. Once the value is selected, I want to be able to store it in a PHP variable, so I can compare it with a variable I am getting from an Advanced Custom Fields ...
JMA's user avatar
  • 3
0 votes
1 answer
543 views

Dates fetched using ajax but not highlighted in Jquery UI datepicker, PHP

I am using Jquery datepicker to highlight specific dates. Dates are being fetched from the database in PHP and MySQL. Dates will be fetched depending on the selected value in the select tag. The dates ...
tru_shar's user avatar
  • 167
0 votes
1 answer
1k views

Get dates from database to the jQuery Ui Picker in PHP

I am trying to get the dates from the database using PHP. Which will be highlighted in datepicker. To do achieve that I have made a sql query to fetch the dates as shown below. HTML Date: <input ...
tru_shar's user avatar
  • 167
0 votes
2 answers
1k views

Laravel disable choosing end date before choosing start date

I tried to disable end period date to prevent user from choosing end date before they choose start date first, here is my code : // Datepicker $('.dtpicker').datepicker({ ...
Vtych's user avatar
  • 71
0 votes
1 answer
90 views

Store json values to an array

Hello I have not much experience but usually with some help of google I can figure it out, but not today. I am making an appointment program and I am struggling with blocking values from a DB in the ...
Thomas Alkmaar's user avatar
0 votes
1 answer
777 views

jquery date picker doesn't work inside the form

hi I have a PHP and HTML that both have a date picker and a full name input field, it is the same code but the date picker inside the form is not working or even showing up, it is this code: <!...
johnmelvin esguerra's user avatar
0 votes
1 answer
447 views

Fetch data from Access by comparing dates using WHERE Date BETWEEN start date and end date chosen from JQuery DatePicker

currently for my system , i am creating a php chart system where user can select desired date from two datepickers which is start date and end date. Once user submit the dates, the dates will be ...
Steve Kush's user avatar
0 votes
0 answers
51 views

Fetch data from MSSQL which compares dates from DatePicker but the data fetched is always wrong

I am currently doing a PHP chart system which get a From and To date from user and search data in MSSQL by comparing the two dates with dates in MSSQL. However , my datepicker is giving correct date ...
Steve Kush's user avatar
2 votes
1 answer
252 views

Add a selector class to jQuery datepicker in WooCommerce single products

I have a datepicker within a form on the single product page of Woocommerce that. Due to gTranslate the values are NaN for other languages. I added notranslate like this in the functions.php: function ...
achiever's user avatar
  • 309
0 votes
4 answers
820 views

Laravel: Converting m/d/Y to Y-m-d from jQuery UI Datepicker before saving to database [duplicate]

I am trying to save a date from jQuery UI datepicker to database. I want to display the date in m/d/Y format on date selection from the input form. When I try to save it to the database, it is giving ...
Reman Bala's user avatar
0 votes
2 answers
1k views

How can I retrieve the selected date value from datepicker jQuery UI in order to trigger something

As the title mentions, I want to update my page with data in accordance with selected date in jQuery UI datepicker. So i need to retrieve the current date value if no date is selected or retrieve the ...
Bob's user avatar
  • 87
1 vote
1 answer
2k views

Custom WooCommerce datepicker checkout field saved and displayed on orders and emails

I have added a new custom datepicker field on the WooCommerce checkout page. I am using Enabling a date-picker in Woocommerce checkout fields. All it's OK On checkout page. But now I really don't know ...
Alin Dragoescu's user avatar
0 votes
1 answer
309 views

JQuery Date Picker not working to disable previous dates

I'm using jQuery date picker in my PHP site. It's working properly, but I want to disable previous date from it. I tried every settings I can but unable to disable it. <center><div class=...
Charanjit Singh Classydeocder's user avatar

15 30 50 per page
1
2 3 4 5
9
X