I realized the way to do it would be to loop over and write like this
{!! Form::label('guest['.$x.'][fname]', 'First Name:*') !!}
{!! Form::text('guest['.$x.'][fname]') !!}
Now I'm wondering will I be able to use model binding for such a form and if yes how do I deal with multiple set of data that will be multiple records in the DB
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community