Disable Button after Submission
Last Post 02-17-2009 12:22 PM by Chad Nash. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Andy ThomasUser is Offline
skipping stones
skipping stones
Posts:13
Avatar

--
02-17-2009 08:34 AM

    Hello!


    Can anyone help me write the client-side execution script that will disable the Submit button once it's clicked. I need this to avoid multiple clicks by the user and thus avoid multiple entries into the database.

    Warm Regards,

    Aditya

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    02-17-2009 10:27 AM

    HI, if anyone has implemented and written client side javascript to disable buttons, etc. please feel free to post your code in this forum.

    Data Springs support consists of:

     

     

     

  • Standard support include Module / Web Part installation / Configuration options not working as designer / Product features not working properly or as documented within user guide / General questions, help, advice,  or assistance on if our products have specific capabilities
  • Any additional support such as customization of client side coding is offered as a premium support
  • You can check out our demos of dynamic forms (particularly demos 7 and 13) that has some tutorials on client side scripting. Most likely you will need to create customized scripts under the section "Submit / Save Javascript" of "Custom Javascript" edit.  Be careful when you script because the "CAPCHA" field may be entered incorrectly and this would require a reentry and you could possibly turn of the submit button without having entered a correct field yet.
  •  

     

    David with Data Springs

     

     

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    02-17-2009 12:18 PM
    Hi. Yes we will also add this to the list of future tutorials to add to demonstrations. We were going to add this as a feature as well within the module (to turn on or off) however we ended up running into issues specifically related to what David mentioned with validation. If the client side event disabled the form field after submission, then maybe a field wasn't validated, the user would be stuck on the form without a way to submit it. I would be happy to get more feedback on this issue though as I am sure more customers are wanting to implement similar forms etc....

    -Chad
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    02-17-2009 12:22 PM
    You might also google 'Disable Link Button JavaScript' as I saw several posts that offered various solutions and examples. If you setup a page on Beta Springs attempting to implement any of these I would be happy to take a look under the hood.

    -Chad


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi