Date Validation using DataAssist
I'm trying to validate a date field with min and max dates. I followed the instructions posted in your WebAssist Help System, with no success. This is the code DataBrigge generates:
$WAFV_Errors .= WAValidateDT((isset($_POST["hex_Fecha_Instalacion"])?$_POST["hex_Fecha_Instalacion"]:"") . "",true,".*","mktime(0, 0, 0, date(\"m\") , date(\"d\")-7, date(\"Y\"));","mktime(0, 0, 0, date(\"m\") , date(\"d\")-0, date(\"Y\"));",true,".*","","",true,10);
Min Date = current date - 7 days
Max Date = current date
Please see line 21 of the attached file.
Please advice...
José