How to use <button> tags within MyBB forms?
Destro Offline
Junior Member
**
Posts: 39
Joined: Nov 2012
Post: #5
RE: How to use <button> tags within MyBB forms?
(04-28-2013 07:28 AM)RateU Wrote:  Something like this:

HTML Code
<button type="submit" name="previewpost" value="previewpost">Preview Post</button>


Thanks you. I solved it few days ago. But really thanks you so much!

But I've new small issue.

In the forumdisplay_inlinemoderation template, I'm using this instead of MyBB <input> tags.

PHP Code:
<button class="ui-button button2" id="inline_go" name="go" type="submit"><span><span>{$lang->inline_go}({$inlinecount})</span></span></button>
&nbsp;
<button class="ui-button button2" onclick="javascript:inlineModeration.clearChecked();" type="button"><span><span>{$lang->clear}</span></span></button>


The clear button is working and also the go button is working too. But the {$inlinecount} not display correct.

When I check to the checkbox, it will change the value attribute of <button> tags


What should I do?

(This post was last modified: 04-29-2013 11:26 PM by Destro.)
04-29-2013 11:25 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: How to use <button> tags within MyBB forms? - Destro - 04-29-2013 11:25 PM

 Standard Tools
Forum Jump: