limiting file upload to only pdf's
Hey Ray
On the attached page, am trying to limit the field SampleMenu to fail if anything other than a pdf file is uploaded.
I cant seem to get that to work and not sure if my regex expression is correct within the server validations:
$WAFV_Errors .= WAValidateRX($row_WADApage_contents['SampleMenu'] . "","^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))(.pdf|.PDF)$",false,11);
Thanks
Jamie