Form validation with upload
Posted: Mon Dec 27, 2004 5:06 pm
I am using a form to collect some info and then upload two files, the info is then submitted to the DB and the files uploaded.
How would I go about validating the fields of the form but, not entering the info to the DB or uploading the files until all compulsory fields are valid.
Does anyone have a class or link to some example code that I can use, or change for my own needs.
How would I go about validating the fields of the form but, not entering the info to the DB or uploading the files until all compulsory fields are valid.
Does anyone have a class or link to some example code that I can use, or change for my own needs.