Using onkeyup in Webflow Forms

Hi there,

I am trying to use the onkeyup function in Javascript, with my Webflow Form. I have seen an article on this topic which references Google Analytics, however, I am not using GA with this project. It’s a simple calculator tool, with no need for custom event tracking etc.

I have used document.getElementById('myId').setAttribute("onkeyup", "myFunction()"); but it doesn’t have the desired effect.

I am trying to automatically update the output for the form / calculation.

Any help is greatly appreciated!

Here is my site Read-Only: Webflow - Copy of Grundfos - Cooling as a Service
(how to share your site Read-Only link)

You can use the jQuery Builder for this

It’ll prob look something like this:

$('.trigger').on('keyup change', function() {
  let calc = $('.target').val();