 
I'm trying to have a button that outputs a skill roll and a command button to roll damage for the weapon selected, and seem to be having problems and can't see why... :-/  Button:  <button class="sheet-spellButton sheet-spellcaster" type='roll' name="roll_DSpellRoll" value="&{template:tr_dmg_roll} @{rolltSpellcasting} @{DSpellButton}"></button>  rolltSpellcasting:  <input type='hidden' name='attr_rolltSpellcasting' value='{{name=@{character_name}}} {{trait=Spellcasting}} {{skill_rank=@{spellcastingScore}}} {{skill_roll=[[@{speDiceScore}[Spellcasting] + @{ModSum}[Trait Test Modifiers, Wounds, Fatigue]]]}} {{mook=[[1d0+@{wdNum}]]}} {{wild_die=[[ [[@{wdNum}]]d@{wilddie}! + @{SpellcastingMod}[Spellcasting Rank Modifier] + @{ModSum}[Trait Test Modifiers, Wounds, Fatigue] ]] }}' />  DSpellButton  <input type="hidden" name="attr_DSpellButton" value="{{DmgRoll=[Roll Damage](~DSpellDmgRoll) }}" />  When I roll the button, I get the following:    The Ability button is missing information...note, it doesn't close with: "DSpellDmgRoll)"  If press the up arrow in the chat window I get:  &{template:tr_dmg_roll} @{Exydor the Hobbled|rolltSpellcasting} {{DmgRoll=[Roll Damage](~-L3-k6Kpgu-z5s4iuor3|repeating_dmgspells_-L64x815NKTTMWV1g6wZ_ }}  When I manually edit it to be:  &{template:tr_dmg_roll} @{Exydor the Hobbled|rolltSpellcasting} {{DmgRoll=[Roll Damage](~-L3-k6Kpgu-z5s4iuor3|repeating_dmgspells_-L64x815NKTTMWV1g6wZ_DSpellDmgRoll) }}  everything works perfectly...    So...why is the end of the command getting cut off? Any ideas what I'm doing wrong?  Thanks for any help.
 
				
			 
 
