如何获取以下复选框的旧值
@if (count($chests) > 0)
@foreach ($chests as $chest)
<br> Day:
@for ($i = 0; $i < $days; $i++)
<label><input type="checkbox" name="{{str_replace(' ', '_', $chest->name)}}_days[]"
value="{{$i+1}}">{{$i+1}}</label>
@endfor
<br>
<label><input type="checkbox" name="chest[]" value="{{$chest->name}}">{{$chest->name}}</label><br>
<div id="div01">
<input type="text" id ="hint" name="{{str_replace(' ', '_', $chest->name)}}_hints[]" placeholder="Hints / Repeats etc">
</div>
@endforeach
@else
No Register Machines
@endif
如何获取复选框的旧值