This content has been marked as final. Show 7 replies
What are you using to upload the file?
ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio 2008
"001mad" <firstname.lastname@example.org> wrote in message
>i can validate my form, but is there any way of validating a file field so
>that the end user attaches a photograph ?
hi - form has been created and uploaded from dreamweaver cs3 - appreciate any advice
I think the question posed was asking if you are using a pre-made or custom file upload script and what language the form is in (ie: PHP, ASP).
Client-side? Check to see if the field is empty.
Server-side? Check to see if the file has uploaded successfully, and if it
had the proper extension.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
"SnakEyez02" <email@example.com> wrote in message
>I think the question posed was asking if you are using a pre-made or custom
>file upload script and what language the form is in (ie: PHP, ASP).
hi - this is a standard .html file adapted from a hot dreamweaver mail to script
What type of validation are you wanting to perform? If the user selects a file using the browse dialog, and you are using a server side uploading script with your form processing, then the file will be uploaded. What do you need to validate?
>hi - this is a standard .html file adapted from a hot dreamweaver mail to script cheers
Huh? If you are uploading files, then you need to use a server side script - not a .html file. Why don't you start over again and explain what you already have and what you are trying to do.