1
You want to put two actions in the value field of a button, using html only. It is possible?
My original button:
<button type='roll' name='roll_arma1' value='&{template:default} {{name=Ataque @{nomearma1} @{arma1}}} {{Sucessos=[[{5d4}>3+@{arma1}]]}}'>
i wanted to insert within the value the #macro1 action, which performs a function within the site I use, roll20.net
or turn these two buttons below into a single:
<button type='roll' name='roll_arma1' value='&{template:default} {{name=Ataque @{nomearma1} @{arma1}}} {{Sucessos=[[{5d4}>3+@{arma1}]]}}'></button>
<button type='roll' name='roll_arma1' value='!ammo @{selected|character_id} municao1 -1'></button>
I couldn’t understand your doubt, I could explain it better?
– Roberto de Campos
It is unclear what you want to do. Please edit the question and describe the problem better. Also seek to make a [mcve] and take the opportunity to make the [tour].
– Woss
You say 2 VALUES or 2 ACTIONS as Submit, Click?
– mcamara
My original button: <button type='roll' name='roll_arma1' value='&{template:default} {{name=Attack @{name1} @{arma1}}} {{Hits=[[{5d4}>3+@{arma1}]]}}'> I wanted to insert within the value the #macro1 action, which performs a function within the site I use, roll20.net
– Daniel Reis
Daniel this information you made available in the comments is essential in the question, feel free to edit it if you want.
– Bsalvo
@Danielreis are you using angular? .
– lucasferreiralimax