I have a form with a single select where it is automatically filled with a mysql table, the detail is that I want that when someone selects an option and clicks on the send button, I can recover that value to be able to make a consult and show the data, it is not like a dependent select, but in my select I have the data of some races, if I select one later I appear the data of the subjects of that race along with other specifications.
The problem is that I do not know how to recover the value sent by the select.
My code is this:
{!!Form::open(['route' => 'plan.mostrar','method' => 'POST'])!!}
<div class="form-group">
{!!Form::label('Seleccione RVOE:')!!}
<div class="input-group">
<div class="input-group-addon">
<i class="fa fa-graduation-cap"></i>
</div>
{!!Form::select('rvoe',$rvoe,null,['id' => 'rvoe','class' => 'form-control'])!!}
</div>
</div>
{!!Form::submit('Enviar',['name' => 'guardar','id' => 'guardar','content' => '<span>Enviar</span>','class' => 'btn btn-success btn-lg pull-right'])!!}
{!!Form::close()!!}