MyBB Community Forums

Full Version: Report box drop list?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry, I didn't know where to post.

I've searched and searched, but where's the thread guiding you on how to create a drop down box in the report window?
Umm, no there isn't. Although I would kind of like this feature honestly Toungue.
In the report box file, find:

<input type="text" class="textbox" name="reason" size="40" maxlength="250" />

Replace with:

<select>
<option name="reason" value="Reason 1">
<option name="reason" value="Reason 2">
<option name="reason" value="Reason 3">
<option name="reason" value="Reason 4">
<option name="reason" value="Reason 5">
<option name="reason" value="Reason 6">
</select>

That shouldddddd, do it.
Incorrect syntax, invald HTML and submission shouldn't work.

<select name="reason">
<option value="reason1">Reason 1</option>
<option value="reason2">Reason 2</option>
<option value="reason3">Reason 3</option>
<option value="reason4">Reason 4</option>
<option value="reason5">Reason 5</option>
<option value="reason6">Reason 6</option>
</select>
Look on the tutorials section of MyBBSource.com
You could of easily find it with the help of Google.