I am looking a way to create a form for an appointment, I have 2 fields so far, in format "string", is it correct according you?
<fieldset class="form-group ">
<label for="company-content">Hour Start</label>
<select name="hour_start" id="" class="form-control">
<option value="">Hour Start</option>
<option value="08:00" @if (old('hour_start') == "08:00") selected @endif>08:00</option>
<option value="10:00" @if (old('hour_start') == "10:00") selected @endif>10:00</option>
</select>
</fieldset>
<fieldset class="form-group ">
<label for="company-content">Hour End</label>
<select name="hour_end" id="hour_end" class="form-control">
<option value="">Hour End</option>
<option value="10:00" @if (old('hour_end') == "10:00") selected @endif>10:00</option>
<option value="13:00" @if (old('hour_end') == "13:00") selected @endif>13:00</option>
</select>
</fieldset>
I think the validation will be complicated?
Thank you for your help.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/346WxG2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire