Validation Bug

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alvin Bruney

    #1

    Validation Bug

    I've found a bug with the validation controls. If the internet connection is
    slow causing the page to load slowly this causes a problem. If the page is
    not fully drawn and the data isn't yet in the page, then clicking a button
    (which causes validation) will cause a bomb out. I suspect because the data
    is not in the field to be validated yet.

    This is troubling because the more users use the application the more
    familiar they become with it and they won't wait for the entire page to load
    instead they will click whatever button they need to as soon as it appears
    and not wait for the whole page to load. This will cause the validation
    mechanism to bomb out with an annoying script error. Then, the field to be
    validated never ever gets its value unless a refresh is done.

    Very sucky in my opinion. Very very sucky


  • Ignacio Machin

    #2
    Re: Validation Bug

    Hi Alvin,

    It's not a validation bug, it's a "feature" of the way that the browser
    render the page in the best case. What is happening may happen no matter
    what technology you are using, if you start to interact with the page BEFORE
    the page is fully loaded this kind of situations may happen, the worst thing
    is that there is nothing to do to avoid it !!! , nevertheless there are
    workarounds for this.
    - You can avoid the iteraction with the page until it's fully loaded, you
    can do this by inserting the entire page ( or at least the page's form) in a
    layer invisible by default and in the OnLoad event make this layer visible.

    You can also think in another solution, that was one that I used a while
    ago.

    Hope this help,

    --
    Ignacio Machin,
    ignacio.machin AT dot.state.fl.us
    Florida Department Of Transportation

    "Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
    message news:OVZukVfUDH A.1012@TK2MSFTN GP11.phx.gbl...[color=blue]
    > I've found a bug with the validation controls. If the internet connection[/color]
    is[color=blue]
    > slow causing the page to load slowly this causes a problem. If the page is
    > not fully drawn and the data isn't yet in the page, then clicking a button
    > (which causes validation) will cause a bomb out. I suspect because the[/color]
    data[color=blue]
    > is not in the field to be validated yet.
    >
    > This is troubling because the more users use the application the more
    > familiar they become with it and they won't wait for the entire page to[/color]
    load[color=blue]
    > instead they will click whatever button they need to as soon as it appears
    > and not wait for the whole page to load. This will cause the validation
    > mechanism to bomb out with an annoying script error. Then, the field to be
    > validated never ever gets its value unless a refresh is done.
    >
    > Very sucky in my opinion. Very very sucky
    >
    >[/color]


    Comment

    Working...