2014-11-25, 02:29 PM
Hi,
I have problem
but it is obvious that always <input type="hidden" name="action" value="do_2" />
because it is the last, I don't wont use <button> tag
There is a chance to do this right?
Regards
I have problem
<form action="submit.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="pid" value="{$post[\'pid\']}" />
<input type="hidden" name="tid" value="{$post[\'tid\']}" />
// here in need two input buttons image
<input type="hidden" name="action" value="do_1" />
<input type="image" src="images/1.png" />
<input type="hidden" name="action" value="do_2" />
<input type="image" src="images/2.png" />
</form>
but it is obvious that always <input type="hidden" name="action" value="do_2" />
because it is the last, I don't wont use <button> tag
There is a chance to do this right?
Regards