wordpress - Real-Time validation for a Time Field in PHP -


i need employ real-time time validation in php form. basically, when visitor filling out form (it's order form btw), , comes "pickup time" field, visitor should allowed enter time that's 1 hour (60 minutes) time filling out form. if fail enter appropriate time, should echo error.

i don't need real time validation, need real-time, time validation. mean: filling out form field, , have code check current time user putting in (eg. 2:00pm) , respond accordingly. if time 2:00pm while filling out field, error should occur because time not @ least 60 minutes current time (2:00pm).

how this? php or otherwise, know html , css.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -