• Resolved HI HI

    (@fanoosbedastan)


    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

    (@njones35)

    Hi @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/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.