Is there a way to just get the first numbers from the input date, for me is it just important to select a amount 1 to 200. I like the scrolling select type more than press the amount.
<form method="POST">
<label>How much do you want ?</label>
<input type="date" name="number">
<button>Send</button>
</form>
The idea is to make it easier for mobile users to select amount with scrolling to the number of amount.
<?php echo $_POST['number']; ?>
Output 20 (for example ifs user selected 20).