...

View Full Version : showing a image while the form is being validated



mrjameer
03-17-2007, 02:58 PM
hi,

when a user will upload the image on my site i want to show an animated gif for indicating that the form is being validated

any of your idea will be surely appreciated


thanks
mrjameer

mlseim
03-17-2007, 03:47 PM
This is a tough one, because there are a mixture of scripts that have
real status bars using Perl, Javascripting mixed together. Usually
important for large files like MP3, videos, etc. But with form validation,
it's really so fast, that your graphic would be a "fake" ... look-at-this type
of thing. By the time it's done validating, the next page is already loading.

If you're going to end up using Javascripting anyhow, I would go this
route instead http://www.massimocorner.com/validator/samples/index.htm

Validate instantly and directly on the form and don't even allow it to be
sent until it's filled-out properly. Then, within your PHP script, you can
further validate things (string parsing, etc) ... as you should do another
validation in case Javascripting is bypassed.

For most visitors, that would be intuitive and a nice-touch.

mrjameer
03-17-2007, 04:37 PM
hi,


just i want to display a small animated gif for indicating the user that uploading of image is in progress


thanks
mrjameer



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum