Viewing 1 replies (of 1 total)
  • Plugin Contributor webdorado

    (@webdorado)

    Dear user,

    Please use the following code in Form Options>Javascript> before_submit part filling in the IDs and alert message

    var date_from  = jQuery("#id_of_from").val();
    var date_to    = jQuery("#id_of_to").val();
    if(new Date(date_to) <= new Date(date_from)) {
     alert('something');
     return false;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Date comparison’ is closed to new replies.