MyBB Community Forums

Full Version: Multi Select Custom Profile Field — Checked Box ID
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I’ve probably done a terrible job of titling this, but anyway…

I have a custom profile field that is multi select, and a long list of options to choose from.

I have custom coding that I want to show badges/awards depending on which options have been checked from the list, and ignore those that haven’t been selected.

Is there some part of the code to indicate $post[fid’151’] ‘s individual checkboxes?? (Excuse the weird ‘s, I’m on mobile)

So far I’m either getting everything showing up, or nothing. I’m honestly not sure how to indicate checking for just a single checkbox option being selected or not.

Any assistance would be outstanding, thank you!
You would need to do this in PHP and set a variable for which option is checked.