How do I get the label of a button?

Hi!

I need to get “YYY”
How do I do that?

Thank you!

Hey mikhail, welcome to Coda!

Recommended

Add an additional column for the button label, and make the button label use this new column instead

Not recommended

I couldn’t find a way to get a normal button’s name, but I did find a way to get a “custom” button’s name (using the hidden Button() formula)

thisRow.[Custom Button]._Merge().ParseJSON("properties.text.root.children[0].children[0].text")
2 Likes