Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

How to "link" text area on a Custom Sheet

I've been trying to figure out how to show a spell or ability description on the click of a button.  I've been learning how to make character sheets by basically grafting and modifying stuff together and I've gotten some good results so far, but i'm stumped on how to make a button show a text area, basically linking it to the chat. The idea is that one would write out their own abilities in the text area, and then by pressing a button (or the text itself like in the 5e sheet) it would link what was written to the chat, help would be immensely appreciated.
1658183234
GiGs
Pro
Sheet Author
API Scripter
The text area will have a name (attr_attribute). You can just have you button call the attribute (value="@{attribute}"). You can embed it in a rolltemplate to make it neater, if destred.