Multiple Text Inputs From Relationship / Saving To Pivot
Ok modifying this question to use a hasMany/pivot relationship.
I have a model that has a list of questions and belongs to a career
Then I am making a form that will loop through all the questions and give a text input so they can store their answers on the pivot table, I have tried a few different way's however I do not think i am on the right track.
When loading the form the SHOULD NEVER REACH HERE is showing and only 1 evern though there is 4 questions. I am guessing I have the repeater relationship setup wrong ?
1 Reply
I also thought about just doing something like this which displays the questions
but then the $data['questions'] array is messed up