githinji84
Member
Guys,
I have a file upload element and I want the user to always attach a file here so I am using the notempy validation plugin on the form but the plugin always fires "This is a required field" even when I have uploaded a file. See attached screen shot.
Does anyone how to fix this? I am thinking I can also write code using PHP validation plugin but I don't know how to handle files using php (e.g. how to get the file from the form and check if there is anything loaded)
Please assist.
Kind regards
Simon
I have a file upload element and I want the user to always attach a file here so I am using the notempy validation plugin on the form but the plugin always fires "This is a required field" even when I have uploaded a file. See attached screen shot.
Does anyone how to fix this? I am thinking I can also write code using PHP validation plugin but I don't know how to handle files using php (e.g. how to get the file from the form and check if there is anything loaded)
Please assist.
Kind regards
Simon