MyBB Community Forums

Full Version: Correct way to call a custom profile field in code?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to pass along some registration information to an API and need to use a custom profile field. 

The custom profile field is a select box that selects a country code. The user's input seems to be represented by profile_fields[fid1] but whenever I call that instead of getting the country code associated with their account I get the letter p.