3

I'm creating several webforms in different languages to let people register to receive more information. I would like to set their preferred language to the language used in the form rather than the default (en_US).

I have similar needs for some custom fields.

How can I do that?

3

What I found is:

  • add the field needed (eg. preferred field)
  • go on form components and edit that field to enable only the option wanted (eg. spanish) and set it as the default
  • set the widget as "hidden"

It's not bullet proof, as in theory, the visitor can still use tools like firebug and alter that field

  • 1
    make it "hidden - secure value" and it will be bulletproof. – Coleman Feb 1 '16 at 22:52
  • that was the missing step, thanks coleman – Xavier Feb 2 '16 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.