# Set contact preferred language on form submit

**URL:** <https://community.hubspot.com/t/set-contact-preferred-language-on-form-submit/42857>\
**Category:** Lead Capture Tools\
**Tags:** forms, contacts, landing-pages\
**Created:** [August 25, 2021, 9:41am UTC](https://community.hubspot.com/t/set-contact-preferred-language-on-form-submit/42857 "2021-08-25T09:41:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasvbe](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/thomasvbe/32/9256_2.png) [@thomasvbe](https://community.hubspot.com/u/thomasvbe)\
**Post date:** [August 25, 2021, 9:41am UTC](https://community.hubspot.com/t/set-contact-preferred-language-on-form-submit/42857/1 "2021-08-25T09:41:26Z")

</div>

Hi!

I’m trying to figure out how to automate the contact’s preferred language when they submit a form. For now, the only solution I see is to add a prefilled hidden field.  
Is there another way to automate this (without using workflows)?  
I thought that submitting a form on a landing page where we set the language to French or where we set the form to French, would automatically set the preferred language of the user.

Thanks!

Thomas

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [August 25, 2021, 9:50am UTC](https://community.hubspot.com/t/set-contact-preferred-language-on-form-submit/42857/2 "2021-08-25T09:50:15Z")

</div>

Hi @thomasvbe,

A hidden, prepopulated field for _Preferred language_ is indeed the best option here and very widely used. Any other workaround (parameters, onFormSubmit custom JavaScript for forms, workflows) would require more work or maintenance.

Best regards!
