|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
i can validate my form, but is there any way of validating a file field so that the end user attaches a photograph ?
thanks |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
What are you using to upload the file?
-- ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio 2008 "001mad" <webforumsuser@macromedia.com> wrote in message news:g2les2$fuv$1@forums.macromedia.com... >i can validate my form, but is there any way of validating a file field so >that the end user attaches a photograph ? > thanks |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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).
|
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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" <webforumsuser@macromedia.com> wrote in message news:g6kta1$a1g$1@forums.macromedia.com... >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). |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
hi - this is a standard .html file adapted from a hot dreamweaver mail to script
cheers |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
>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. |
|
![]() |
| Outils de la discussion | |
|
|