Trigger appconnect events on setting value of input?

I'm setting the value of an input field like so hiddenInput.value = editor.getHTML();
I want to use appconnect from that moment again and use 'on changed' or 'on updated' etc.

But this doesn't seem to trigger any events.

Is there a way to do so?

I'm also working with dynamic data so I can't hard code certain input fields etc.
Everything gotta be dynamic.

EDIT: Got it :D:

hiddenInput.dispatchEvent(new Event("change", { bubbles: true }));

Try to use dmx.parse() to run a Wappler expression to set that field's value

You're faster than my fastest edit ever :stuck_out_tongue:

I was trying that out but then have issues finding that certain hiddeninput (it's nested in somewhere like content.offcanvas.form etc.
Not sure if that would work dynamically.

Anyway thanks as always :smiley: Got it working now