Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-17-2007, 02:58 PM   PM User | #1
mrjameer
Regular Coder

 
Join Date: Aug 2006
Posts: 133
Thanks: 0
Thanked 0 Times in 0 Posts
mrjameer is an unknown quantity at this point
showing a image while the form is being validated

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
mrjameer is offline   Reply With Quote
Old 03-17-2007, 03:47 PM   PM User | #2
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
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/validat...ples/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.
mlseim is offline   Reply With Quote
Old 03-17-2007, 04:37 PM   PM User | #3
mrjameer
Regular Coder

 
Join Date: Aug 2006
Posts: 133
Thanks: 0
Thanked 0 Times in 0 Posts
mrjameer is an unknown quantity at this point
hi,


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


thanks
mrjameer
mrjameer is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:47 AM.


Advertisement
Log in to turn off these ads.