Level 41
Input::get("name.0")
Input::get("name.1")
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I have a form which contains the following code:
{!! Form::open(array('url'=>"items/create')) !!}
<div class="form-group">
{!! Form::label('name') !!}
{!! Form::text('name', '', array('class' => 'form-control')) !!}
</div>
<div class="form-group">
{!! Form::label('item_id', 'Select Item') !!}
{!! Form::select('item_id', (['0' => 'Item'] + $items), null, array('class' => 'form-control', 'id' => 'test')) !!}
</div>
<div id="items">
<ul></ul>
</div>
{!! Form::submit('Submit', array('class' => 'btn btn-default')) !!}
{!! Form::close() !!}
}
every time i select something from Form::select i'm doing an append to list now on post request i want to pass that info which is in form of:
Any ideas?
Please or to participate in this conversation.