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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Why doesn't this work?

I know I'm overlooking something obvious. I'm still experimenting trying to figure out how custom sheets work. I wish there was a more in depth tutorial somewhere. Does anyone know of one? Anyways. Why doesn't this work? <input type="number" name="Floop" style="height: 24px; width: 40px;"> <button type='roll' name='Test' value='Test: [[1d20+@{Floop}]]'/>
1431616998

Edited 1431617008
Finderski
Plus
Sheet Author
Compendium Curator
For Roll20, the name should start with attr_, so it should be something like: <input type="number" name="attr_Floop" style="height: 24px; width: 40px;"> <button type='roll' name='attr_Test' value='Test: [[1d20+@{Floop}]]'/>
HA! I'm a goof. That makes sense. It wouldn't work when I had both of them with attr_ on it so I removed attr_ from both and it still wouldn't work. Duh. Thanks!