MyBB Community Forums

Full Version: Memberlist - replace input type text with number
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
memberlist_search template.


		<input type="text" class="textbox" size="4" name="perpage" id="perpage" value="15" />


<input type="number" class="textbox" min="1" max="9999" step="1" name="perpage" id="perpage" value="15" />

I chose 9999 because that is what the current code allows, but can be replaced with a lower more reasonable number eg. 100