Changing element visibilty in js and trigger the workflow

I want to change element visibilty with js code in html element. When i set the element visibility to visible and display is block or flex what element is need, element actions not working. What should i do?
I have to change the element visibilty in js code. Do you have any suggest?

I can use the custom state. But i dont know how i set the custo state in js code

As you found, to turn on an element properly you need to turn on Bubble’s visibility setting.

The JS can call a Javascript to Bubble element (Toolbox plugin) which can trigger a workflow and/or publish a value.

More info at Toolbox docs JS2bubble

1 Like

Thanks mishav, I solved it in js code. But your suggestion can also solve my problem.

This topic was automatically closed after 70 days. New replies are no longer allowed.