Hello, i have a issue with chronoform datepicker: the short days and short months doesn't work. Here is what i wrote in the général setting
short days = ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa"]
short months = ["Jan", "Fev", "Mar", "Avr", "Mai", "Juin", "Juil", "Aout", "Sep", "Oct", "Nov", "Dec"]
No days show up, and month are "undefined"
Here is the HTML
<input id="calendrierD" class="validate['required'] form-control A" name="calendrierD" value="" data-gdatetimepicker-format="d/m/Y" placeholder="Date de départ" title="" style="" data-load-state="" data-tooltip="" data-fieldtype="gdatetimepicker" data-start_date="01/01/2017" data-open_days="[1,2,3,4,5]" data-shortdays="[" di",="" "lu",="" "ma",="" "me",="" "je",="" "ve",="" "sa"]"="" data-shortmonths="[" jan",="" "fev",="" "mar",="" "avr",="" "mai",="" "juin",="" "juil",="" "aout",="" "sep",="" "oct",="" "nov",="" "dec"]"="" data-start_view="d" type="text">
you can see it here :
Calendar online here
what's wrong ? could you help ? thx
Regard, Feile
short days = ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa"]
short months = ["Jan", "Fev", "Mar", "Avr", "Mai", "Juin", "Juil", "Aout", "Sep", "Oct", "Nov", "Dec"]
No days show up, and month are "undefined"
Here is the HTML
<input id="calendrierD" class="validate['required'] form-control A" name="calendrierD" value="" data-gdatetimepicker-format="d/m/Y" placeholder="Date de départ" title="" style="" data-load-state="" data-tooltip="" data-fieldtype="gdatetimepicker" data-start_date="01/01/2017" data-open_days="[1,2,3,4,5]" data-shortdays="[" di",="" "lu",="" "ma",="" "me",="" "je",="" "ve",="" "sa"]"="" data-shortmonths="[" jan",="" "fev",="" "mar",="" "avr",="" "mai",="" "juin",="" "juil",="" "aout",="" "sep",="" "oct",="" "nov",="" "dec"]"="" data-start_view="d" type="text">
you can see it here :
Calendar online here
what's wrong ? could you help ? thx
Regard, Feile
Hi Feile,
The form you linked to doesn't have these settings so I can't see anything useful there. I do notice that the strings that you have in the HTML are not the same as the examples that you posted. That could explain the problem.
Bob
The form you linked to doesn't have these settings so I can't see anything useful there. I do notice that the strings that you have in the HTML are not the same as the examples that you posted. That could explain the problem.
data-shortdays="[" di",="" "lu",="" "ma",="" "me",="" "je",="" "ve",="" "sa"]"=""
data-shortmonths="[" jan",="" "fev",="" "mar",="" "avr",="" "mai",="" "juin",="" "juil",="" "aout",="" "sep",="" "oct",="" "nov",="" "dec"]"=""
Bob
This topic is locked and no more replies can be posted.