Form Submission

Discussion in 'ASP .Net' started by TCORDON, Apr 18, 2005.

  1. TCORDON

    TCORDON Guest

    How can I prevent a user from submitting a form more than once if the form
    is submitted by a ImageButton that cannot me disabled?

    Thanks
    TCORDON, Apr 18, 2005
    #1
    1. Advertising

  2. You can use the click event to add 1 to a predefined javascript variable when
    the image is clicked. Then, depending on the value of the variable (=1), post
    the form. Otherwise just exit the event handler...

    "TCORDON" wrote:

    > How can I prevent a user from submitting a form more than once if the form
    > is submitted by a ImageButton that cannot me disabled?
    >
    > Thanks
    >
    >
    >
    =?Utf-8?B?QnJhZCBSb2JlcnRz?=, Apr 18, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Leon Shaw

    (onetime) Form Submission

    Leon Shaw, Aug 15, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    355
  2. Tim Stephenson

    Re: Offline Form Submission

    Tim Stephenson, Oct 15, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    392
    Tim Stephenson
    Oct 15, 2003
  3. Boban Dragojlovic

    duplicate form submission

    Boban Dragojlovic, Feb 2, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    558
    Boban Dragojlovic
    Feb 3, 2004
  4. KV
    Replies:
    2
    Views:
    852
  5. Jared
    Replies:
    5
    Views:
    209
    Jared
    Jul 10, 2003
Loading...

Share This Page