# Problem with form field validation - transaltion messages

**URL:** <https://community.hubspot.com/t/problem-with-form-field-validation-transaltion-messages/69435>\
**Category:** CMS Development\
**Created:** [November 17, 2022, 6:37am UTC](https://community.hubspot.com/t/problem-with-form-field-validation-transaltion-messages/69435 "2022-11-17T06:37:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HPrzygoda](https://avatars.discourse-cdn.com/v4/letter/h/b3f665/32.png) [@HPrzygoda](https://community.hubspot.com/u/HPrzygoda)\
**Post date:** [November 17, 2022, 6:37am UTC](https://community.hubspot.com/t/problem-with-form-field-validation-transaltion-messages/69435/1 "2022-11-17T06:37:10Z")

</div>

Hi,  
I have a problem translating the message on the form.  
I have LP: [https://twoje.sodexo.pl/dla-agencja](https://twoje.sodexo.pl/dla-agencja)  
I added translation when adding the form:  
[Screenshot by Lightshot](https://prnt.sc/N1AcCMKDmY86)  
On the bottom form it is ok:  
[Screenshot by Lightshot](https://prnt.sc/HG-uVs0FT6z9)  
But I also have the same form here on the popup:  
When I click here: [Screenshot by Lightshot](https://prnt.sc/U4O8mXEdD9Bz) a popup appears with the form:  
[Screenshot by Lightshot](https://prnt.sc/nZKWVSbyviU3)  
However, the form in the code is thrown in a different way, and I don’t know how to change these messages here to be the same as the ones on the bottom form:  
[Screenshot by Lightshot](https://prnt.sc/0NOurRuymV3F)  
I am asking for an answer and help.  
Kind regards,  
Hanna

---

<div class="post-metadata">

**Author:** ![MBERARD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mberard/32/61390_2.png) [@MBERARD](https://community.hubspot.com/u/MBERARD)\
**Post date:** [November 18, 2022, 10:15am UTC](https://community.hubspot.com/t/problem-with-form-field-validation-transaltion-messages/69435/2 "2022-11-18T10:15:42Z")

</div>

Hi Hanna!

Unfortunatly you can’t pass error text translation values within a HubL form tag. The only way to achieve what you want is to reused the previous function and render the form via JavaScript.

Hope it helps 😊

Kind regards,

Matthieu

[matthieu.berard@markentive.com](mailto:matthieu.berard@markentive.com)
