onchange event not triggering when input field contents are removed.

0
i have a simple onchange microflow. (9.24.28)   if Int is above X then set an enum to Success if Int is below X then set an enum to Failed if the input is empty, then set an enum to empty.   the issue is that the input does not seem to register changing from having a value, to being empty. this is causing unintended behaviour, where the input is empty, but the status is still successful. is there a way to force the onchange to happen even if the input has been emptied?
asked
3 answers
0

Hi, I’ve run into the same issue before. From what I remember, switching to On leave or using a nanoflow solved it. If you still need server-side logic, you can trigger a microflow from the nanoflow, so the empty/null change is reliably handled. Did you try those workarounds?

answered
0

Hi Jason,

Maybe not the best approach, but for this specific case you can try to catch it when the field is cleared by using one of these widgets:

Worth a try for catching the “empty” state.

Hope these widgets can handle it.

answered
0

Was this when using an autofill from a browser, or when entering by hand?

 

I have had issues before with autofill not triggering events. My solution was to go into those fields manually for the event to trigger.

answered