Hey guys,
I am working with the laravel framework right now, and I need to simply change the name of a form:
Right now it looks like this:
Quote
{{ Form::text('function-key['.$functionKey['idx'].'][value]',$functionKey['value'],['class' => 'form-control']) }}
The "value" attribute however, should have a different name. When I try to simply change that name, I get the error undefined index message.
I tried to simply change it like this:
Quote
{{ Form::text('function-key['.$functionKey['idx'].'][fkey_label]',$functionKey['fkey_label'],['class' => 'form-control']) }}
The thing is that the form works, however to array merge them, i need instead of the value, the fkey_label.
Somebody has experience with this, and can maybe give me a hand?