Надеюсь, это даст вам представление
вид
{!! Form::open(['url' => ['yoururl'], 'method' => 'get', 'role' => 'form' ,'id' => 'search']) !!}
<select class="form-control" name="city">
<option value="">--Select--</option>
@foreach($cityas $cs)
<option value="{{$cs['cityid']}}">{{$cs['city']}}</option>
@endforeach
</select>
<input type="text" name="zip" class="form-control fldcls clrfield">
<input type="hidden" id="hasvalues" name="search" value="1">
<button type="button" onclick="submitSearch()" class="btn rsi-submit-btn">Search</button>
{!! Form::close() !!}
Сценарий
function submitSearch(){
$("#search").submit();
}
Контроллер
В вашем контроллере
public function functionname(Request $request)
if($request->input('search') && $request->input('search') == '1'){
$result = modalname::modal function name( $request );
//Get the data using modal and passed it to the view page
}
$data['result'] = $result;
return view('your view page', $data);
}