Forums

Language switcher is submiting empty form...

radee 14 Jul, 2014
Hi there,

I'm testing the multilanguage part of chronoforms v4 on a site, which looks very good and promising for me, but I just realized a strange issue.

If I'm on the page, where the form is published and trying to switch from one language to the other to test the translation, my form gets submitted for some reason. Even stranger is that the form has some required fields, but they are ignored, and I'm receiving a emty email....
If I switch the language before on a other page without the form, everything works fine...

I noticed that the language switcher is adding the following url for some reason: ?chronoform=formname&even=submit

Does anybody had a similar problem or knows where the issues is coming from?

Thanks for any help!

Regards,
Daniel
GreyHead 14 Jul, 2014
Hi Daniel,

How have you got this set up? ChronoForms v4 doesn't have a language switcher?

The URL snippet you have there is a part of the normal ChronoForms action URL and is required. to identify the form and the event.

Bob
radee 14 Jul, 2014
Hi Bob,

Sorry, I completely forgot to mention the language set up!!
I'm evaluating the J! FaLang extensions for the site content, Falang is based on Joomla default language system....for the form I'm using the multilanguage action.
Lets say I'm on the englisch version of the site (/en url) and if I want to click on the country flag to switch to the german version, the its adding the chronoforms snippet and submits the form, instead of just switching to the language....

[attachment=0]forms_issue.jpg[/attachment]

Regards,
Daniel
Max_admin 13 Aug, 2014
A late reply here, your submit url should not be open anyway, web crawlers would also submit your form, please try to add some security measurement, like a captcha, honeypot, reCaptcha, security question or a server side validation!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jfgiroux 09 Jan, 2015
I have got the same problem as Daniel and cannot find a solution. I switched from JoomFish to FaLang (1.4.5) to maintain my bilingual site on Joomla (2.5.28). For some reasons, Chronoforms (v4RC3) adds

?chronoforms=formname&event=submit

to the URL that should switch to the form in the other language. Any help would be appreciated.
Max_admin 10 Jan, 2015
The language switcher is inside the form or outside it ? the form url is set to the submit url by default, but it doesn't change other urls on the page.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jfgiroux 10 Jan, 2015
The form is part of a page with other text that is translated through FaLang. I used the multi language and Show HTML [GH] to translate the form and this works VERY well including the Formcheck, datePicker, etc. To answer your question, I think the language switcher is outside the form. The page can be found at http://goeland.uqam.ca/index.php/en/rapporter-une-observation-an
Thanks
Max_admin 15 Jan, 2015
Well, after testing the page, I found that the french flag icon is set as a link which points to the form submit page, I have no idea why is that or how does this work, so you better ask the module's developer about this behavior, which is wrong I guess!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.