MyBB Community Forums

Full Version: min max?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anybody know how I set a min max on a numeric optionscode value? 

Thanks
There's a few ways you could do this. Depending on the range you could probably do a drop-down option. Another way would be to probably hook into admin_config_settings_change to check the input and then return an error, or use your own php optionscode.
Thanks Wires,
I am hooking into admin_config_settings_change for peeker code now so i will try and do a check there.

Thanks again