holyboy
|
Posted: 06/29/2004, 7:07 AM |
|
i have custom input file field in html form which is managed by custom action in record form. everything works, except validation.
my field is called j_cv, so using cc vars naming manner, i declared in custom action (in "Load all form fields into variables" section):
$fldj_cv = get_param("j_cv");
and in validation section:
if(!strlen($fldj_cv))
$srecordErr .= "ERROR: missing file<br>";
but i always receive error, even if input filed is not empty.
where is the mistake?
|