Forums

file upload + java verifications on same form?

d3vilr3d 11 Jun, 2008
Hi guys,

I have a form does custom field check with custom error message. This form also accepts image uploads.

How do I input code in the Form tag attachment field?

for verification i use:
onSubmit="return checkForm(this)"


and image upload i use

enctype='multipart/form-data'


I tried adding them together and seperate by ";" but it doesnt work.

Please help.

Thanks,
William
d3vilr3d 11 Jun, 2008
fixed.

wasn't the Form Tag attachment field problem. it works fine with 2 codes inserted.
GreyHead 12 Jun, 2008
Hi d3vilr3d,

Yes, just a space in between is enough.
onSubmit="return checkForm(this)" enctype='multipart/form-data'


Bob
This topic is locked and no more replies can be posted.