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

Use one text attribute for another

1464670016
vÍnce
Pro
Sheet Author
Is it possible to use one attribute's text value as the default text value for another? example; <input type="text" name="attr_foo" value="@{foo2}"> <input type="text" name="attr_foo2" value="hello world"> I would like for @{foo} to show "hello world" on the sheet(unless it's overwritten with a new value.), but it only shows "@{foo2}". Script workers perhaps? Thanks
1464700557
Lithl
Pro
Sheet Author
API Scripter
A sheet worker could do it, and obviously it would work with an autocalc field.
1464723817
vÍnce
Pro
Sheet Author
Brian said: A sheet worker could do it, and obviously it would work with an autocalc field. I can't use an autocalc/disabled field for my use case.  ;-( Sheet worker's it is. Thanks