amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.02k forks source link

Update 2 text input boxes in a form based on date selected in pickadate date picker. #1218

Open cardscale opened 3 years ago

cardscale commented 3 years ago

Hi, first of all please excuse my ignorance regarding your wonderful date picker which I have just started using.

I have a form with a pickadate date picker on and when the user selects a date I need to update two input text fields with text based on the date selected using the pickadate.

I have looked for possible solutions but I'm struggling to find an answer.

Im thinking I need to use an onchange event is this right?

A pointer to a jsfiddle or a user guide would help.

Thanks for your time and effort, keep up the good work and stay safe.

Alan