the hide and show button functionality

I have a new question regarding the hide and show button functionality. I have two buttons, Button A and Button B. Currently, Button A is visible upon login, while Button B is hidden. My intention is for Button B to become visible when Button A is clicked. I have already configured the “show button” setting for Button B upon clicking Button A, but it does not seem to be working as expected.

Could you please advise if there might be an issue with my current settings or if there is a specific configuration I need to apply for this functionality to work correctly in Drapcode?


Hi @shone,

Thanks for reaching out.

I think this can be achieved only via custom Javascript as if you use the Condition login, then we don’t even bring the Button html on the UI on page load (as it is controlled via backend), hence it is not showing you the button on the click.

So better to use some frontend JS code to do the show/hide as you want.

Thanks.