Hi
I have a Drupal site where my form has two Datepicker: end and start.
I'm trying hook into Datepicker change i.e. get date from the picker.
Unfortunately the input fields designated for date seem be empty all the time.
altField is used per specification.
Are those dates stored in a variable until submission when value are set into inputs?
Or why those inputs arent updated correctly? At least I get correct value on the server side so in that perspective it does work as planned.
I need keep submit button disabled until date have picked.
I also need to update end date based on start date and duration.
So, if I really need a custom js just to get the dates then it is the same thing as implementin the dependency between start end dates which is fired on change of start date.
End date is supposed to be hidden and "disabled".