Hi,
the case is like this :
I have 2 datepicker, 1st datepicker is for 'Departure Date', which my client want it to set to current month,
2nd datepicker is for date of birth which I choose to show year to choose first.
so I set startView:'years' in DateTime Picker config
My question is how to set different configuration for each Datepicker in the same form ??
thx
arie
the case is like this :
I have 2 datepicker, 1st datepicker is for 'Departure Date', which my client want it to set to current month,
2nd datepicker is for date of birth which I choose to show year to choose first.
so I set startView:'years' in DateTime Picker config
My question is how to set different configuration for each Datepicker in the same form ??
thx
arie
Hi,
Using the "Custom Datepicker" element under the "power fields" section in the wizard.
Regards,
Max
Using the "Custom Datepicker" element under the "power fields" section in the wizard.
Regards,
Max
sorry, but how to use it
lets say I have three datepicker and the ids :
1. departure
2. arrival
3. dob
datepicker no.1 & 2 must shows month at first
datepicker no.3 mush shows year at first view
please advice
thx
lets say I have three datepicker and the ids :
1. departure
2. arrival
3. dob
datepicker no.1 & 2 must shows month at first
datepicker no.3 mush shows year at first view
please advice
thx
Hi,
Just use the default configuration for fields 1 and 2, and drag/configure a "Custom Datepicker" action for the 3rd one, you can identify picker fields using classes, so you should add a unique class to the 3rd field and use it in the "Custom Datepicker" action.
Let me know if you still can't do it and I will try to make a short tutorial in the FAQs page.
Regards,
Max
Just use the default configuration for fields 1 and 2, and drag/configure a "Custom Datepicker" action for the 3rd one, you can identify picker fields using classes, so you should add a unique class to the 3rd field and use it in the "Custom Datepicker" action.
Let me know if you still can't do it and I will try to make a short tutorial in the FAQs page.
Regards,
Max
This topic is locked and no more replies can be posted.