-1
I would like if user select a specific option of a select in the form as the second option another field of the date type of the same form change to today date automatically.
<input type="date" id="demoInput" />
<select id="demoSelect" />
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
$('#demoSelect').change(function(){
$('#demoInput').val($(this).val());
});
Recommended reading: Manual on how NOT to ask questions
– LipESprY