Results 1 to 2 of 2

Thread: double submit of a form

  1. #1
    Sencha User
    Join Date
    Jan 2010
    Posts
    91

    Default double submit of a form

    Hi,
    I have a form with a save button but if a double click this button, the form is submited two times.
    Is ther any kind to disable the double click on the button? or the double submit?

    Thanks!

  2. #2

    Default

    Code:
    handler: click(btn) {
      btn.disable();
      processing();
      btn.enable();
    }
    ?
    Wes

Similar Threads

  1. Submit gridpanel data in form submit
    By kodomo in forum Ext 3.x: Help & Discussion
    Replies: 20
    Last Post: 23 Nov 2010, 6:30 AM
  2. form.submit is not a function [Break on this error] form.submit();
    By intro in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 30 Aug 2010, 11:03 AM
  3. form.submit doesn't call url in form submit action
    By webwolfi in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 26 Apr 2009, 10:16 AM
  4. tree: submit checkboxes with form.submit
    By perler in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 24 Mar 2008, 4:49 AM
  5. Form without submit button, handling submit with shift+enter...
    By violinista in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 5 Jun 2007, 12:02 AM

Posting Permissions

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