PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > validating forms
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
validating forms

Réponse
 
LinkBack Outils de la discussion
Vieux 10/06/2008, 09h43   #1
001mad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut validating forms

i can validate my form, but is there any way of validating a file field so that the end user attaches a photograph ?
thanks
  Réponse avec citation
Vieux 16/07/2008, 21h40   #2
Daniel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: validating forms

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



  Réponse avec citation
Vieux 28/07/2008, 17h49   #3
SnakEyez02
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: validating forms

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).
  Réponse avec citation
Vieux 28/07/2008, 18h33   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: validating forms

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).


  Réponse avec citation
Vieux 30/07/2008, 10h34   #5
001mad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: validating forms

hi - this is a standard .html file adapted from a hot dreamweaver mail to script
cheers
  Réponse avec citation
Vieux 30/07/2008, 16h05   #6
bregent
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: validating forms

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?

  Réponse avec citation
Vieux 30/07/2008, 16h09   #7
bregent
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: validating forms

>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.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h40.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14744 seconds with 15 queries