Formula to swap an image based on STATE

@Joyce @Doc How can I write a formula that switches the URL for an image based on state? I want to have a hover state on an image element - and when you hover - the image is changed to a different URL.

It obviously does not work to just change the binding to the image between states - so, I assume I need some syntax to know if hover state is active on the element and write a switch formula …?

I resolved with just having both images in a div - and setting their display to none based on state.

1 Like

@Mark_Pederson thanks for the update and glad you solved it!