<h1>Match all image files (image/*)</h1>
<p><label>image/* <input type="file" accept="image/*"></label></p>
<h1>Match all video files (video/*)</h1>
<p><label>video/* <input type="file" accept="video/*"></label></p>
<h1>Match all audio files (audio/*)</h1>
<p><label>audio/* <input type="file" accept="audio/*"></label></p>
<h1>Match all image files (image/*) and files with the extension ".someext"</h1>
<p><label>.someext,image/* <input type="file" accept=".someext,image/*"></label></p>
<h1>Match all image files (image/*) and video files (video/*)</h1>
<p><label>image/*,video/* <input type="file" accept="image/*,video/*"></label></p>
$fullName = isset($firstNames[$name]) ? $firstNames[$name]->full : $name;
<form action="" method="post">
<input name="step" type="hidden" value="<?=($step ?? 1)?>">
<fieldset data-step="1" class="<?=(!isset($step) || $step === 1 ? 'active' : 'hidden')?>">
<input name="steps[1][field_name]" type="text" value="">
</fieldset>
<fieldset data-step="2" class="<?=(isset($step) && $step === 2 ? 'active' : 'hidden')?>">
<input name="steps[2][field_name]" type="text" value="">
</fieldset>
<input type="submit" value="Submit">
</form>