Set a custom state when either button is clicked, and use conditions on the buttons, based on the custom state, to show the underline for whichever is currently selected.
For example:
Have a custom state (it can be on the page) called selected button of type âtextâ or âNumberâ
Have conditionals on Button 1 to show the bottom border (to act as an underline) whenever the pages selected button value is (for example) â1â, and a similar conditional on Button 2, to shoe the border when the custom state value is 2.
When either button is clicked, set the custom state to either 1 or 2 (depending on which button is clicked).
Hi there, @sensei01⌠I canât promise someone wonât change it before you can look at it, but since your editor was open, I set up what you have described by using a couple of custom states. Check it out and give a shout if you have any questions.
BestâŚ
Mike
Edit: Adamâs suggestion to use one custom state is cleaner, but I think youâll get the idea if my changes are still intact when you look at it.