//ads:
?>
Laravel insert dynamic input values with radio button
PHP Snippet 1:
<input type="radio" class="form-check-input" name="moreFields" value="'+i+'">
PHP Snippet 2:
@foreach($lease_stores as $lease_store)
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="lease_store_id" id="inlineRadio1" @if($general_details->lease_store_id==$lease_store->id) checked value="{{$lease_store->id}}"
@else value="{{$lease_store->id}}"
@endif>
<label class="form-check-label" for="inlineRadio2">{{$lease_store->name}} </label>
</div>
@endforeach