Forums

Show HTML [GH] & Datepicker

jfgiroux 04 Jan, 2014
I have a bilingual form that uses Show HTML [GH] to choose the language for the formcheck and the Datepicker. The formcheck worked quite nicely but the calendar always displayed in en-US. After struggling for months, I just inversed the lines 385 and 387 in cfaction_show_html_gh.php so that $this->tag comes before 'en-US'. Everything works nicely now!
GreyHead 16 Jan, 2014
Hi jfgiroux,

I can't work out what is happening there. Looking through the code it appears correct to me. What is the second language you are using?

Bob
jfgiroux 17 Jan, 2014
fr-FR is the other language. As I mentionned, the problem has been solved by reversing the two lines.
This topic is locked and no more replies can be posted.