This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

mat11444
mat11444

Hi All,

I must be missing something obvious. I have the following:

Course CourseDate Booking

CourseDate -> hasMany -> Booking CourseDate -> belongsTo -> Course Booking -> belongsTo -> CourseDate Booking -> belongsTo -> User

I am trying to create a backend form for Bookings where I can either:

a)

  • select a Course
  • based on the course selected, filter the CourseDate select options to only list related CourseDate's to the previously selected Course

b)

  • select a CourseDate but when listed it show me the related Course to the CourseDate i.e.

My Great Training Course on 24th March 2015 (Course->name) on (CourseDate->start_date)

I've tried various options and just can't seem to get anywhere. Any help at this point would be greatly appreciated.

Regards, Mat

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.