Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2006
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,537
    Thanks
    8
    Thanked 1,093 Times in 1,084 Posts
    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.

  • #3
    Regular Coder
    Join Date
    Aug 2006
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi,


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


    thanks
    mrjameer


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •