is it possible to check an input type date is set without a submit button. I.e if done through mobile browser there is a set button when you first click on the date input field is there a way to check that this "set" button was clicked and for desktop view you get the calendar when the user clicks on a date this would be the same button, is there a way to check this has been clicked without the submit button?
Image Example:
Normally I would just check using a submit button, something like this:
if (isset($_GET['date'])){
$date = $_POST['dateValue'];
if (empty($date)) {
//if date is not set...
}
else{
//if date is set...
}
}
Thanks guys, been struggling with this for a while now.