0

I have a join model for Users and Courses called Subscriptions. In the subscription's add view, it gives me a blank select.

The correct field for the User would be username. And I'm sure it's calling something like name somewhere by mistake - I just have no idea where.

Can anyone help me? Thanks!

6
  • Nobody can answer this question until unless you will add some code in it. Read stackoverflow.com/questions/how-to-ask Commented Jan 28, 2014 at 4:06
  • "called Subscriptions" Please follow conventions. Models are singular. Also: You should always mention the exact cakephp version you are using. Commented Jan 28, 2014 at 14:47
  • @Anubhav - would you look at that. I got the answer I needed without pasting code. Commented Jan 28, 2014 at 14:48
  • @mark - sorry that was a typo. My model is singular. Commented Jan 28, 2014 at 14:50
  • @itamar I am really sorry...keep posting questions like this... Commented Jan 28, 2014 at 16:03

1 Answer 1

1

Have you set the displayField property on the User model?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.