Forums

Affect the current language not the one selected in the form

jmf32 05 Jul, 2013
Hello,
I have a multi-language site where users must be able to post articles in the language of their choice ( selected in a menu of the form) independently of the current language of the site. It work well when you create an article but, when you update one, the language affected to the article is always changed to the current language of the site. The field associated to the language menu of the form has for name 'language' ( I can't change it). When I put a debugger in the form, I see that the value '$form->data[language]' is the current language of the site, not the value selected in the language menu of the form.
How can I correct this?
Thanks!
GreyHead 07 Jul, 2013
Hi jmf32,

I'm not sure when that value is set; you may be able to change it using a Custom Code action before the Submit Article action. If that doesn't work it gets more complicated :-(

Bob
This topic is locked and no more replies can be posted.