Your script worked perfectly—thank you so much! I had deleted the topic after it remained unanswered for a long time, and after many attempts, I eventually managed to solve it myself. so It deleted it after I solved it . I really appreciate your help!
Is there a way to solve my main issue?
I want to create buttons using HTML inside Memento, where each button changes its color when pressed.
Also, I need another action that can read the current colors (or states) of these buttons and save those values into fields.
Thanks in advance
Thank you very much for your help and for taking the time to explain your solution. I really appreciate it.
However, for my specific use case, the approach feels a bit too complex and not very practical, since I was hoping for a simpler and more direct interaction (like selecting directly from a visual dental chart).
Thanks again for your support and effort 🙏