how to hide field to public when no content or selection is present in field.
I picked up this code for adding extra fields to my buddypress groups. http://pastebin.com/Bj3aE4Q0
Everything works great but I was wondering if there is a string of code I can add so it only shows that field if a selection was made or someone filled in that field in the backend settings.
Right now by default all the fields show whether people added information or not.
So if field is blank or null I would like it hidden on the front end.
- The topic ‘how to hide field to public when no content or selection is present in field.’ is closed to new replies.