How can I get the target of a click inside a “On click” workflow?
Could I use context.thisInstance
?
Or do I have to rely purely on custom JS to add an event listener?
I thought about avoiding that since it’s already an “On click” workflow (?)
How can I get the target of a click inside a “On click” workflow?
Could I use context.thisInstance
?
Or do I have to rely purely on custom JS to add an event listener?
I thought about avoiding that since it’s already an “On click” workflow (?)
Thanks @Alexis. My bad… my workflow is actually an “On submit” workflow… which is why, i guess, the “event” doesnt have a caret to expand and select “target”. Would event.target
work in my custom JS?