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

'No attribute was found' error - Custom Character Sheet

1509404669

Edited 1509405115
Hey everyone, so this is my first time trying to make a custom character sheet for a game on roll20 and I've hit an error. Whenever you hit the button to roll for a check it pops up with something similar to:  No attribute was found for @{Ernest 'Quick Finger' McBride|char_GenreAction} I've included the part of the coding that has the checks and their roll buttons below, am I just reading how to do this wrong? <h4>Action</h4> <input type="number" name="attr_GenreAction" value="1"/> <button type="roll" value="/roll 1d20 + @{GenreAction}" name="roll_ActionCheck"></button> <h4>Drama</h4> <input type="number" name="attr_GenreDrama" value="1"/> <button type="roll" value="/roll 1d20 + @{GenreDrama}" name="roll_DramaCheck"></button> <h4>Comedy</h4> <input type="number" name="attr_GenreComdey" value="1"/> <button type="roll" value="/roll 1d20 + @{GenreComedy}" name="roll_ComedyCheck"></button> <h4>Mystery</h4> <input type="number" name="attr_GenreMystery" value="1"/> <button type="roll" value="/roll 1d20 + @{GenreMystery}" name="roll_MysteryCheck"></button> EDITED: Above code works now if anyone needs to use it for reference to a similar error.
You don't need the char_ for any of the attributes.  /roll 1d20 + @{GenreAction} will suffice.
Kyle G. said: You don't need the char_ for any of the attributes.  /roll 1d20 + @{GenreAction} will suffice. Thank you!