Jump to content

Trying to get dropdown value from user sub-table


Recommended Posts

So, I can access the value of a field in a club that my user belongs to 

$user->club['title']

However, I can't get the title from a select? I tried

$user->club['status']->title

but it didn't work. 'status' being the select field name that I am trying to get the value of from the dropdown.

Any help appreciated

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...