Title: killian6341's Replies | WordPress.org

---

# killian6341

  [  ](https://wordpress.org/support/users/killian6341/)

 *   [Profile](https://wordpress.org/support/users/killian6341/)
 *   [Topics Started](https://wordpress.org/support/users/killian6341/topics/)
 *   [Replies Created](https://wordpress.org/support/users/killian6341/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/killian6341/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/killian6341/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/killian6341/engagements/)
 *   [Favorites](https://wordpress.org/support/users/killian6341/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Forminator Forms – Contact Form, Payment Form & Custom Form Builder] When the value of a hidden field is updated by js, Forminator dnt retrieve it.](https://wordpress.org/support/topic/when-the-value-of-a-hidden-field-is-updated-by-js-forminator-dnt-retrieve-it/)
 *  Thread Starter [killian6341](https://wordpress.org/support/users/killian6341/)
 * (@killian6341)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/when-the-value-of-a-hidden-field-is-updated-by-js-forminator-dnt-retrieve-it/#post-17019887)
 * Thank you very much, I’ll test it when I’m back from holiday in a week and I’ll
   come back to you if I need anything.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Forminator Forms – Contact Form, Payment Form & Custom Form Builder] When the value of a hidden field is updated by js, Forminator dnt retrieve it.](https://wordpress.org/support/topic/when-the-value-of-a-hidden-field-is-updated-by-js-forminator-dnt-retrieve-it/)
 *  Thread Starter [killian6341](https://wordpress.org/support/users/killian6341/)
 * (@killian6341)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/when-the-value-of-a-hidden-field-is-updated-by-js-forminator-dnt-retrieve-it/#post-16996539)
 * Hello, thank you very much for your quick reply.
   The string default value is “
   undefined”Here’s the JS code I use :
 *     ```wp-block-code
       const element = document.querySelectorAll('input[name="hidden-2"]');
       elements.forEach(element => {
           element.value = navigator.language || navigator.userLanguage;
       });
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)