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 .
×

[Help] My value don't appear.

Hi and sorry not be able to understand this myself, i tried some characters sheet code like this : <div> <table style="text-align: center; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr> <td style="text-align: center;"> <Button name="roll_RFOR" type='roll' value='/roll 1d20! + @{FOR}-10'>FOR</Button> </td> <td style="text-align: center;"> <Button name="roll_RDEX" type='roll' value='/roll 1d20! + @{DEX}-10'>DEX</Button> </td> <td style="text-align: center;"> <Button name="roll_RINT" type='roll' value='/roll 1d20! + @{INT}-10'>INT</Button> </td> <td style="text-align: center;"> <Button name="roll_RVOL" type='roll' value='/roll 1d20! + @{VOL}-10'>VOL</Button> </td> </tr> <tr> <td><input type="number" name="attr_FOR" value="0" /></td> <td><input type="number" name="attr_DEX" value="0" /></td> <td><input type="number" name="attr_INT" value="0" /></td> <td><input type="number" name="attr_VOL" value="0" /></td> </tr> <tr> <td> <input type="number" name="attr_BPV" value="10+(@{FOR}*2)" /> <input type="number" name="attr_XPV" value='0' /> <input type="number" name="attr_PV" value='@{BPV}+@{XPV}' disable="true" /> </td> <!-- i'll try this later <td> <input type="number" name="attr_BPM" value='@{VOL} + @{VOL} + 10' /> <input type="number" name="attr_XPM" value="0" /> <input type="number" name="attr_PM" value="@{BPM} + @{XPM}" /> </td> <td> <input type="number" name="attr_BMR" value="@{FOR} + 4" /> <input type="number" name="attr_XMR" value="0" /> <input type="number" name="attr_MR" value="@{BMR}+@{XMR}" /> </td> --> </tr> </tbody> </table> </div> Sooooo, here the buttons work perfectly fine ==>> <Button name="roll_RFOR" type='roll' value='/roll 1d20! + @{FOR}-10'>FOR</Button> with the FOR value ==>> <td><input type="number" name="attr_FOR" value="0" /></td> but my ==>> <input type="number" name="attr_BPV" value="10+(@{FOR}*2)" /> or my ==>> <input type="number" name="attr_PV" value='@{BPV}+@{XPV}' disable="true" /> Don't give me any value. Could anyone please help my way to succeed this?
Anotsu said: Hi and sorry not be able to understand this myself, i tried some characters sheet code like this : <div> <table style="text-align: center; width: 100%;" border="1" cellpadding="2" cellspacing="2"> <tbody> <tr> <td style="text-align: center;"> <Button name="roll_RFOR" type='roll' value='/roll 1d20! + @{FOR}-10'>FOR</Button> </td> <td style="text-align: center;"> <Button name="roll_RDEX" type='roll' value='/roll 1d20! + @{DEX}-10'>DEX</Button> </td> <td style="text-align: center;"> <Button name="roll_RINT" type='roll' value='/roll 1d20! + @{INT}-10'>INT</Button> </td> <td style="text-align: center;"> <Button name="roll_RVOL" type='roll' value='/roll 1d20! + @{VOL}-10'>VOL</Button> </td> </tr> <tr> <td><input type="number" name="attr_FOR" value="0" /></td> <td><input type="number" name="attr_DEX" value="0" /></td> <td><input type="number" name="attr_INT" value="0" /></td> <td><input type="number" name="attr_VOL" value="0" /></td> </tr> <tr> <td> <input type="number" name="attr_BPV" value="10+(@{FOR}*2)" disabled="true"> <input type="number" name="attr_XPV" value='0'> <input type="number" name="attr_PV" value='@{BPV}+@{XPV}' disabled="true"> </td> <!-- i'll try this later <td> <input type="number" name="attr_BPM" value='@{VOL} + @{VOL} + 10' /> <input type="number" name="attr_XPM" value="0" /> <input type="number" name="attr_PM" value="@{BPM} + @{XPM}" /> </td> <td> <input type="number" name="attr_BMR" value="@{FOR} + 4" /> <input type="number" name="attr_XMR" value="0" /> <input type="number" name="attr_MR" value="@{BMR}+@{XMR}" /> </td> --> </tr> </tbody> </table> </div> Sooooo, here the buttons work perfectly fine ==>> <Button name="roll_RFOR" type='roll' value='/roll 1d20! + @{FOR}-10'>FOR</Button> with the FOR value ==>> <td><input type="number" name="attr_FOR" value="0" /></td> but my ==>> <input type="number" name="attr_BPV" value="10+(@{FOR}*2)" /> or my ==>> <input type="number" name="attr_PV" value='@{BPV}+@{XPV}' disable="true" /> Don't give me any value. Could anyone please help my way to succeed this? I think this fixes it? disable becomes disabled
1443018610

Edited 1443020253
Thank you for your reply. You are right about this and i fixed it. The value problem is still always here. I start to think that perhaps the input type isn't the best to put some automatic calculated value? Here the goal is to have my life point base directly calculated from the strength attribute. For a roll it take the value without problem. What should i use to only calculate it and show the result?
Ok, i find the real problem! I ran my code on the new windows edge web-browser. On chrome there is no problem! So if something happen like this, check your browser everyone!
Ah yeah, Edge/IE isn't supported really. Chrome primarily, Firefox/Safari kind of work fine.