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

Help with character tab layout

Dear, I am trying to create a character sheet and I ran into the following problems: 1 - what command to use to change the color of the text of a label? 2 - I am using a table to better organize the attributes but I am not able to align them correctly with equal spacing between each attribute. What is the correct way to align a label or input or button inside a table cell? 3 - I would like to put a curved border in the attributes table as it is in the species, profession, etc lists, I am using the same code (border-radius) but it is not working. How could I solve it? 4 - the top edge of the table does not appear completely, as if an element is covering it, is there any way to solve it? CSS /* Muda fundo da ficha .sheet-main{ background-color: black; } */ /* Cabeçalho*/ .sheet-label{ font-family:Aero; font-size: 10px; } .sheet-input{ width: 130px; font-family:Aero; font-size: 10px; border: 1px solid; border-radius: 0.5em; border-left: 1px; border-right: 1px; background-color: none; text-align:center; } .sheet-list{ text-align:center; width: 130px; font-family:Aero; font-size: 10px; border: 1px solid; border-radius: 0.5em; border-left: 1px; border-right: 1px; background-color: none; text-align:center; } .sheet-roll{ width:30px; border: 1px solid; border-bottom-left-radius: 0.5em; border-bottom-right-radius:0.5em; border-top-left-radius: 0.5em; border-top-right-radius:0.5em; border-left: 2px; border-right: 2px; } .sheet-label-nome{ position:relative; top:0px; left:120px; } .sheet-input-nome{ position:relative; top:-27px; left:100px; } .sheet-label-especie{ position:relative; top:-20px; left:0px; } .sheet-list-especie{ position:relative; top:-47px; left:100px; } .sheet-label-profissao{ position:relative; top:-50px; left:0px; } .sheet-list-profissao{ position:relative; top:-77px; left:100px; } .sheet-label-gravidade{ position:relative; top:-80px; left:0px; } .sheet-list-gravidade{ position:relative; top:-107px; left:100px; } .sheet-label-planeta-natal{ position:relative; top:0px; left:120px; } .sheet-input-planeta-natal{ position:relative; top:-27px; left:220px; } .sheet-label-escolaridade{ position:relative; top:-20px; left:120px; } .sheet-list-escolaridade{ position:relative; top:-47px; left:220px; } .sheet-label-idade{ position:relative; top:-50px; left:120px; } .sheet-input-idade{ position:relative; top:-77px; left:220px; width: 130px; } .sheet-label-pontos-acumulados{ position:relative; top:-70px; left:120px; } .sheet-input-pontos-acumulados{ position:relative; top:-97px; left:220px; width: 130px; } /* Fim Cabeçalho*/ /* Atributos*/ .sheet-tabela-atributo{ position:relative; width:100%; top:-90px; left:0px; border: 1px solid; border-radius: 5px; border-left:1px; border-right:1px; } .sheet-label-atributos{ position:relative; top:10px; left:345px; font-size:12px; } .sheet-label-presenca{ font-size:12px; position:relative; top:10px; } .sheet-label-vontade{ font-size:12px; position:relative; top:10px; left:3px; } .sheet-label-intuicao{ font-size:12px; position:relative; top:10px; left:5px; } .sheet-label-saude{ font-size:12px; position:relative; top:10px; left:12px; } .sheet-label-reflexo{ font-size:12px; position:relative; top:10px; left:5.5px; } .sheet-label-forca{ font-size:12px; position:relative; top:10px; left:15px; } /* fim Atributos*/ /*----Configuração do modelo de rolagem----*/ .sheet-rolltemplate-millenia table { width:100%; background-color:white; border:1px solid #000; border-spacing: 0; border-collapse: separate; border-radius: 5px; -moz-box-shadow: 2px 2px 5px #000; -webkit-box-shadow: 2px 2px 5px #000; box-shadow:2px 2px 5px #000; overflow: hidden; background: rgb(245,246,246); /* Old browsers */ background: -moz-linear-gradient(-45deg, rgba(245,246,246,1) 0%, rgba(219,220,226,1) 21%, rgba(215,216,224,1) 49%, rgba(230,231,239,1) 56%, rgba(221,223,227,1) 80%, rgba(245,246,246,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(245,246,246,1)), color-stop(21%,rgba(219,220,226,1)), color-stop(49%,rgba(215,216,224,1)), color-stop(56%,rgba(230,231,239,1)), color-stop(80%,rgba(221,223,227,1)), color-stop(100%,rgba(245,246,246,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(-45deg, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(215,216,224,1) 49%,rgba(230,231,239,1) 56%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(-45deg, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(215,216,224,1) 49%,rgba(230,231,239,1) 56%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(-45deg, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(215,216,224,1) 49%,rgba(230,231,239,1) 56%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* IE10+ */ background: linear-gradient(135deg, rgba(245,246,246,1) 0%,rgba(219,220,226,1) 21%,rgba(215,216,224,1) 49%,rgba(230,231,239,1) 56%,rgba(221,223,227,1) 80%,rgba(245,246,246,1) 100%); /* W3C */ } .sheet-rolltemplate-millenia th { background: rgb(69,72,77); /* Old browsers */ background: -moz-linear-gradient(45deg, rgba(69,72,77,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(69,72,77,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */ margin: 2px 25px 2px 25px; border: none; color:white; font-family: Arial; font-size:1em; text-align: center; padding: 3px 3px 3px 3px; border-spacing: 0; font-weight: bold; vertical-align: middle; } .sheet-rolltemplate-millenia td { padding:5px;line-height:1.4em; vertical-align: middle; padding: 0px 3px 0px 3px; border-spacing: 0; color: black; } .sheet-rolltemplate-millenia .sheet-cheque-prof{ font-weight: bold; } .sheet-rolltemplate-millenia .sheet-cheque-atrib{ font-weight: bold; } .sheet-rolltemplate-millenia .sheet-barra { font-weight: bold; } .sheet-rolltemplate-millenia .sheet-dif { font-weight: bold; font-family: Aero; } .sheet-rolltemplate-millenia .sheet-val-prof{ font-weight: bold; font-family: Aero; } .sheet-rolltemplate-millenia .sheet-val-atrib { font-weight: bold; font-family: Aero; } .sheet-rolltemplate-millenia .sheet-roll { font-weight: bold; font-family: Aero; } HTML &lt;!-- Cabeçalho da Ficha--&gt; &lt;div&gt; &lt;div&gt; &lt;div&gt; &lt;!--First column--&gt; &lt;span&gt;&lt;img src="<a href="http://i1109.photobucket.com/albums/h426/trodurizen/logo%20millenia_zps0oyyx8wk.png&quot;&gt;&lt;/span" rel="nofollow">http://i1109.photobucket.com/albums/h426/trodurizen/logo%20millenia_zps0oyyx8wk.png"&gt;&lt;/span</a>&gt; &lt;/div&gt; &lt;div&gt; &lt;!--Second column--&gt; &lt;span "sheet-label-nome"&gt;&lt;label for="name"&gt;Nome:&lt;/label&gt;&lt;/span&gt; &lt;input type="text" name="attr_nome"/&gt; &lt;span&gt;&lt;label for="especie"&gt;Espécie:&lt;/label&gt;&lt;/span&gt; &lt;select name="attr_especie"&gt; &lt;option value="" selected&gt; &lt;/option&gt; &lt;option value="1"&gt;Homo sapiens&lt;/option&gt; &lt;option value="2"&gt;Homo Habilis&lt;/option&gt; &lt;option value="3"&gt;Homo Campestris&lt;/option&gt; &lt;option value="4"&gt;Homo Urbanus&lt;/option&gt; &lt;option value="5"&gt;Baikan&lt;/option&gt; &lt;option value="6"&gt;Guiratan&lt;/option&gt; &lt;option value="7"&gt;Hasjari&lt;/option&gt; &lt;option value="8"&gt;Kuiher&lt;/option&gt; &lt;option value="9"&gt;Luminari&lt;/option&gt; &lt;option value="10"&gt;Makwi&lt;/option&gt; &lt;option value="11"&gt;Nícteo&lt;/option&gt; &lt;option value="12"&gt;Pierbodi&lt;/option&gt; &lt;/select&gt; &lt;span&gt;&lt;label for="profissao"&gt;Profissão:&lt;/label&gt;&lt;/span&gt; &lt;select name="attr_profissao"&gt; &lt;option value="" selected&gt; &lt;/option&gt; &lt;option value="1"&gt;Soldado terrestre&lt;/option&gt; &lt;option value="2"&gt;Soldado do espaço&lt;/option&gt; &lt;option value="3"&gt;Explorador&lt;/option&gt; &lt;option value="4"&gt;Mercador do espaço&lt;/option&gt; &lt;option value="5"&gt;Oficial da lei&lt;/option&gt; &lt;option value="6"&gt;Acadêmico&lt;/option&gt; &lt;option value="7"&gt;Agente especial&lt;/option&gt; &lt;option value="8"&gt;Profissional liberal&lt;/option&gt; &lt;option value="9"&gt;Criminoso&lt;/option&gt; &lt;/select&gt; &lt;span&gt;&lt;label for="gravidade"&gt;Gravidade:&lt;/label&gt;&lt;/span&gt; &lt;select name="attr_gravidade"&gt; &lt;option value="" selected&gt; &lt;/option&gt; &lt;option value="1"&gt;G-Normal&lt;/option&gt; &lt;option value="2"&gt;Alta-G&lt;/option&gt; &lt;option value="3"&gt;Baixa-G&lt;/option&gt; &lt;option value="4"&gt;Zero-G&lt;/option&gt; &lt;/select&gt; &lt;/div&gt; &lt;div&gt; &lt;!-- Third column --&gt; &lt;span&gt;&lt;label for="planeta-natal"&gt;Planeta Natal:&lt;/label&gt;&lt;/span&gt; &lt;input name="attr_planeta-natal"/&gt; &lt;span&gt;&lt;label for="escolaridade"&gt;Escolaridade:&lt;/label&gt;&lt;/span&gt; &lt;select name="attr_escolaridade"&gt; &lt;option value="" selected&gt; &lt;/option&gt; &lt;option value="1"&gt;Não especializado&lt;/option&gt; &lt;option value="1"&gt;Técnico&lt;/option&gt; &lt;option value="1"&gt;Superior&lt;/option&gt; &lt;/select&gt; &lt;span&gt;&lt;label for="idade"&gt;Idade:&lt;/label&gt;&lt;/span&gt; &lt;input type="number" name="attr_idade"/&gt; &lt;span&gt;&lt;label for="pontos-acumulados"&gt;Pontos acumul:&lt;/label&gt;&lt;/span&gt; &lt;input type="number" name="attr_pontos-acumulados"/&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- Fim do cabeçalho--&gt; &lt;!--Corpo da Ficha--&gt; &lt;table&gt; &lt;tr&gt; &lt;th&gt; &lt;span&gt;&lt;label for="atributos"&gt;Atributos&lt;/label&gt;&lt;/span&gt; &lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;span&gt;&lt;label for="forca"&gt;Força&lt;/label&gt;&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span&gt;&lt;label for="reflexo"&gt;Reflexo&lt;/label&gt;&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span&gt;&lt;label for="saude"&gt;Saúde&lt;/label&gt;&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span&gt;&lt;label for="intuicao"&gt;Intuição&lt;/label&gt;&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span&gt;&lt;label for="vontade"&gt;Vontade&lt;/label&gt;&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span&gt;&lt;label for="presenca"&gt;Presença&lt;/label&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;input type="number" value="" name="attr_forca" /&gt; &lt;button type="roll" value="&{template:millenia} {{pj=@{selected|character_name}}} {{dif=?{Escolha a dificuldade|Rotineira, [Rotineira] (1d6) | Fácil, [Fácil] (2d6) | Normal, [Normal] (3d6) | Difícil, [Difícil] (4d6) | Muito Difícil, [Muito Difícil] (5d6) | Quase impossível, [Quase impossível] (6d6) }}} {{atrib=Força}} {{nivel=@{selected|forca}}} {{roll=[[?{Escolha a dificuldade}]]}}" name="roll_forca"&gt;&lt;/button&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="number" value="" name="attr_reflexo" /&gt; &lt;button type="roll" value="&{template:millenia} {{pj=@{selected|character_name}}} {{dif=?{Escolha a dificuldade|Rotineira, [Rotineira] (1d6) | Fácil, [Fácil] (2d6) | Normal, [Normal] (3d6) | Difícil, [Difícil] (4d6) | Muito Difícil, [Muito Difícil] (5d6) | Quase impossível, [Quase impossível] (6d6) }}} {{atrib=Reflexo}} {{nivel=@{selected|reflexo}}} {{roll=[[?{Escolha a dificuldade}]]}}" name="roll_reflexo"&gt;&lt;/button&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="number" value="" name="attr_saude" /&gt; &lt;button type="roll" value="&{template:millenia} {{pj=@{selected|character_name}}} {{dif=?{Escolha a dificuldade|Rotineira, [Rotineira] (1d6) | Fácil, [Fácil] (2d6) | Normal, [Normal] (3d6) | Difícil, [Difícil] (4d6) | Muito Difícil, [Muito Difícil] (5d6) | Quase impossível, [Quase impossível] (6d6) }}} {{atrib=Saúde}} {{nivel=@{selected|saude}}} {{roll=[[?{Escolha a dificuldade}]]}}" name="roll_saude"&gt;&lt;/button&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="number" value="" name="attr_intuicao" /&gt; &lt;button type="roll" value="&{template:millenia} {{pj=@{selected|character_name}}} {{dif=?{Escolha a dificuldade|Rotineira, [Rotineira] (1d6) | Fácil, [Fácil] (2d6) | Normal, [Normal] (3d6) | Difícil, [Difícil] (4d6) | Muito Difícil, [Muito Difícil] (5d6) | Quase impossível, [Quase impossível] (6d6) }}} {{atrib=Intuição}} {{nivel=@{selected|intuicao}}} {{roll=[[?{Escolha a dificuldade}]]}}" name="roll_intuicao"&gt;&lt;/button&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="number" value="" name="attr_vontade" /&gt; &lt;button type="roll" value="&{template:millenia} {{pj=@{selected|character_name}}} {{dif=?{Escolha a dificuldade|Rotineira, [Rotineira] (1d6) | Fácil, [Fácil] (2d6) | Normal, [Normal] (3d6) | Difícil, [Difícil] (4d6) | Muito Difícil, [Muito Difícil] (5d6) | Quase impossível, [Quase impossível] (6d6) }}} {{atrib=Vontade}} {{nivel=@{selected|vontade}}} {{roll=[[?{Escolha a dificuldade}]]}}" name="roll_vontade"&gt;&lt;/button&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="number" value="" name="attr_presenca" /&gt; &lt;button type="roll" value="&{template:millenia} {{pj=@{selected|character_name}}} {{dif=?{Escolha a dificuldade|Rotineira, [Rotineira] (1d6) | Fácil, [Fácil] (2d6) | Normal, [Normal] (3d6) | Difícil, [Difícil] (4d6) | Muito Difícil, [Muito Difícil] (5d6) | Quase impossível, [Quase impossível] (6d6) }}} {{atrib=Presença}} {{nivel=@{selected|presenca}}} {{roll=[[?{Escolha a dificuldade}]]}}" name="roll_presenca"&gt;&lt;/button&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;div&gt; &lt;div&gt; &lt;!-- First column --&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- Fim do corpo da ficha--&gt; &lt;!-- Rolltemplate--&gt; &lt;rolltemplate&gt; &lt;table&gt; &lt;tr&gt;&lt;th colspan="3" align="center"&gt;{{pj}}&lt;/th&gt;&lt;/tr&gt; {{#prof}} &lt;tr&gt;&lt;td colspan="3" class= "cheque-prof" align="center"&gt;&lt;span&gt;Cheque de {{prof}}&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;span&gt;Dificuldade &lt;/td&gt; &lt;td&gt;| &lt;/td&gt; &lt;td&gt;{{dif}}&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;span&gt;Proficiência &lt;/td&gt; &lt;td&gt;| &lt;/td&gt; &lt;td&gt;{{nivel}}&lt;/td&gt;&lt;/tr&gt; {{/prof}} {{#atrib}} &lt;tr&gt;&lt;td colspan="3" class= "cheque-atrib" align="center"&gt;&lt;span&gt;Cheque de {{atrib}}&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;span&gt;Dificuldade &lt;/td&gt; &lt;td&gt;| &lt;/td&gt; &lt;td&gt;{{dif}}&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;span&gt;Atributo &lt;/td&gt; &lt;td&gt;| &lt;/td&gt; &lt;td&gt;{{nivel}}&lt;/td&gt;&lt;/tr&gt; {{/atrib}} &lt;tr&gt;&lt;td&gt;&lt;span&gt;Resultado &lt;/td&gt; &lt;td&gt;| &lt;/td&gt; &lt;td&gt;{{roll}}&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;/rolltemplate&gt; &lt;!-- Fim do rolltemplate--&gt;
I managed to fix some parts but the rounded border is not working yet
1482039866
vÍnce
Pro
Sheet Author
Thiago, Change your css class for the table to&nbsp; " table.sheet-rolltemplate-millenia " this says, "If a table has a class of&nbsp;sheet-rolltemplate-millenia, apply this style." and then add " class=table.sheet-rolltemplate-millenia " to the &lt;table&gt; element in your html and your css will take effect. &lt;table class="sheet-rolltemplate-millenia"&gt;
It worked! My question now is how to change the color of the label that is inside the box with black background?
1482207902

Edited 1482208135
vÍnce
Pro
Sheet Author
Have you tried adding color to the appropriate class? Also, you forgot including class= "foo" example css .sheet-label-nome{ position:relative; top:0px; left:120px; color: red; } html &lt;span class="sheet-label-nome" &gt;&lt;label for="name"&gt;Nome:&lt;/label&gt;&lt;/span&gt;
Hello Vince, my question now is this, I have a fieldset with a list, an input, and a roll button. I would like to when clicking the roll button it would present the contents of the respective list and input. &lt;table&gt; &lt;tr&gt; &lt;th colspan="6"&gt; &lt;span&gt;&lt;label style="color:white;" for="proficiencia"&gt;Proficiências&lt;/label&gt;&lt;/span&gt; &lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;fieldset&gt; &lt;select name="attr_nome_proficiencia"/&gt; &lt;option value="" selected&gt; &lt;/option&gt; &lt;option value="1"&gt;Acrobacias&lt;/option&gt; &lt;option value="2"&gt;Armadura&lt;/option&gt; &lt;option value="3"&gt;Armas brancas&lt;/option&gt; &lt;option value="4"&gt;Armas de Energia&lt;/option&gt; &lt;option value="5"&gt;Armas de projéteis&lt;/option&gt; &lt;option value="6"&gt;Armas pesadas&lt;/option&gt; &lt;option value="7"&gt;Arremesso&lt;/option&gt; &lt;option value="8"&gt;Artes marciais&lt;/option&gt; &lt;option value="9"&gt;Astronavegação&lt;/option&gt; &lt;option value="10"&gt;Astronomia&lt;/option&gt; &lt;option value="11"&gt;Atuação&lt;/option&gt; &lt;option value="12"&gt;Barganha&lt;/option&gt; &lt;option value="13"&gt;Burocracia&lt;/option&gt; &lt;option value="14"&gt;Canhões&lt;/option&gt; &lt;option value="15"&gt;Comércio&lt;/option&gt; &lt;option value="16"&gt;Computador&lt;/option&gt; &lt;option value="17"&gt;Comunicação&lt;/option&gt; &lt;option value="18"&gt;Contato&lt;/option&gt; &lt;option value="19"&gt;Criminalística&lt;/option&gt; &lt;option value="20"&gt;Demolição&lt;/option&gt; &lt;option value="21"&gt;Direito&lt;/option&gt; &lt;option value="22"&gt;Distorcedores&lt;/option&gt; &lt;option value="23"&gt;Eletrônica&lt;/option&gt; &lt;option value="24"&gt;Emboscada&lt;/option&gt; &lt;option value="25"&gt;Engenharia&lt;/option&gt; &lt;option value="26"&gt;Equitação&lt;/option&gt; &lt;option value="27"&gt;Estratégia&lt;/option&gt; &lt;option value="28"&gt;Falsificação&lt;/option&gt; &lt;option value="29"&gt;Física&lt;/option&gt; &lt;option value="30"&gt;Frieza&lt;/option&gt; &lt;option value="31"&gt;Geradores&lt;/option&gt; &lt;option value="32"&gt;Gravítica&lt;/option&gt; &lt;option value="33"&gt;História&lt;/option&gt; &lt;option value="34"&gt;Liderança&lt;/option&gt; &lt;option value="35"&gt;Linguística&lt;/option&gt; &lt;option value="36"&gt;Mecânica&lt;/option&gt; &lt;option value="37"&gt;Medicina&lt;/option&gt; &lt;option value="38"&gt;Mísseis&lt;/option&gt; &lt;option value="39"&gt;Música&lt;/option&gt; &lt;option value="40"&gt;Natação&lt;/option&gt; &lt;option value="41"&gt;Pilotagem&lt;/option&gt; &lt;option value="42"&gt;Planetologia&lt;/option&gt; &lt;option value="43"&gt;Primeiros socorros&lt;/option&gt; &lt;option value="44"&gt;Propulsores&lt;/option&gt; &lt;option value="45"&gt;Prospecção&lt;/option&gt; &lt;option value="46"&gt;Química&lt;/option&gt; &lt;option value="47"&gt;Rompimento&lt;/option&gt; &lt;option value="48"&gt;Sedução&lt;/option&gt; &lt;option value="49"&gt;Sensores&lt;/option&gt; &lt;option value="50"&gt;Sobrevivência&lt;/option&gt; &lt;option value="51"&gt;Veículos aéreos&lt;/option&gt; &lt;option value="52"&gt;Veículos terrestres&lt;/option&gt; &lt;option value="53"&gt;Xenobiologia&lt;/option&gt; &lt;option value="54"&gt;Xenopsíquica&lt;/option&gt; &lt;option value="55"&gt;Xenosociologia&lt;/option&gt; &lt;/select&gt; &lt;input type="number" value="" name="attr_valor-profiencia" /&gt; &lt;button type="roll" value="@{selected|repeating_proficiencia_X_nome_proficiencia}" name="roll_proficiencia"&gt;&lt;/button&gt; &lt;/td&gt; &lt;/fieldset&gt; &lt;/td&gt; &lt;tr&gt; &lt;/table&gt;
1482242383
Lithl
Pro
Sheet Author
API Scripter
If you want to reference a value in the same repeating section row, you can just reference the attribute name directly, eg. @{nome_proficiencia}. No need for selected or repeating_X stuff.
Brian, it worked but instead of showing the name of the proficiency it is showing the value field, if I change the numbers 1,2,4, ... by their respective names of proficiencies it would work but I could not use ç ^ ~ '. Is there a way to solve it?
Another question is: I have a fieldset to display the items of a character, two fields of this fieldset are price and weight. Out of the fieldset or I created two input and would like them to present total price and total weight, adding the contents of each line of the fieldset.
1482274922
vÍnce
Pro
Sheet Author
Thiago R. said: Another question is: I have a fieldset to display the items of a character, two fields of this fieldset are price and weight. Out of the fieldset or I created two input and would like them to present total price and total weight, adding the contents of each line of the fieldset. This is going to have to be accomplished using sheet workers (javascript) &nbsp;The Aarron has been kind enough to write some sheet worker code to handle these simple calculations. &nbsp; The Aaron Sheet&nbsp; (TAS) &nbsp;I'm not knowledgeable enough to walk someone else thru implementing TAS and/or sheet workers, so I would suggest you post a new thread asking how best to utilize TAS. &nbsp;Myself and others would probably benefit from such a topic as well. &nbsp;;-) Cheers