Title: javascript trigger
Last modified: November 21, 2021

---

# javascript trigger

 *  Resolved [HI HI](https://wordpress.org/support/users/fanoosbedastan/)
 * (@fanoosbedastan)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-trigger-2/)
 * Hi
    I’ve added a button on my website to transfer a certain value to the filter
   field of the form using javascript. The used java code is here :
 *     ```
       <button onclick="myFunctions()">Try it</button>
       <script>
       function myFunctions() {
   
       var input = document.getElementById('nt_cf_0_table_4807');
       input.focus();
       document.getElementById("nt_cf_0_table_4807").value = '123'
       }
       </script>
       ```
   
 * The code works very well and puts “123” in the filter filed
 * The problem is the table has no reaction to the change of the value of the field.
   
   Not before you press a key like “enter”
 * Is there any way that I can modify the code due to an instant reaction to the
   change of the value and eliminate this need of pressing a key ??
 * Thank you in advance

Viewing 1 replies (of 1 total)

 *  Plugin Support [Njones35](https://wordpress.org/support/users/njones35/)
 * (@njones35)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-trigger-2/#post-15090923)
 * Hi [@fanoosbedastan](https://wordpress.org/support/users/fanoosbedastan/) ,
 * Thanks for getting in touch with us today. My name is Nathanael and I am happy
   to help.
 * Unfortunately, help with writing, customizing, and debugging custom code isn’t
   covered by our support. We don’t have a quick answer for this, and it would take
   quite a bit of time to research and test it.
 * We have had to make the hard decision that our developers’ limited time is best
   spent on the things that will help the most people. As a result, we recommend
   more complex questions that are not documented or that are outside the scope 
   of our support go to Codeable or our supportive Slack Community group.
    [https://formidableforms.com/join-slack/](https://formidableforms.com/join-slack/)
   [https://formidableforms.com/knowledgebase/how-to-get-custom-development-help-with-codeable/](https://formidableforms.com/knowledgebase/how-to-get-custom-development-help-with-codeable/)
 * I hope you understand our policy on this, that custom code questions are not 
   something we can feasibly support. I also hope that you won’t hold this against
   us.
 * Best,

Viewing 1 replies (of 1 total)

The topic ‘javascript trigger’ is closed to new replies.

 * ![](https://ps.w.org/formidable/assets/icon-256x256.png?rev=2588749)
 * [Formidable Forms - Contact Form Plugin, Survey, Quiz, Payment, Calculator Form & Custom Form Builder](https://wordpress.org/plugins/formidable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/formidable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/formidable/)
 * [Active Topics](https://wordpress.org/support/plugin/formidable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/formidable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/formidable/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Njones35](https://wordpress.org/support/users/njones35/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-trigger-2/#post-15090923)
 * Status: resolved