I want to create a form where user have two option for image upload, Either passport, an identity card, or a driver's license, but I want when the user chooses a passport box passport, if the selection of an identity card or a driver's license, two back and front
<form action="">
<select >
<option >PASSPORT</option>
<option >ID CARD</option>
<option >DRIVER LICENSE</option>
</select><BR><BR>
<input type="file" id="myFile" name="PASSPORT"><BR><BR>
<input type="file" id="myFile" name="FRONT ID"><BR><BR>
<input type="file" id="myFile" name="BACK ID"><BR><BR>
<input type="file" id="myFile" name="BACK DRIVER LICENSE"><BR><BR>
<input type="file" id="myFile" name="BACK DRIVER LICENSE"><BR><BR>
<input type="submit">
</form>
Example:
