MyBB Community Forums

Full Version: how to check if a field is filled out?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone tell me how I can do this.

Before displaying a custom field in the postbit, I want to check if it's filled out, because if it's not, i don't want it to show up in the postbit.
You could use this: http://community.mybb.com/thread-31860.html
To check if the field is empty then if it is then it could be hidden.