Announcement

Collapse
No announcement yet.

Need to Block Submit Button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need to Block Submit Button

    We use visualforce to create donation pages like this one: mindsmatter.secure.force.com/donate/national
    People have been submitting donations multiple times, so I need to block the submit button. That is, once someone clicks "Submit donation" the button should be disabled and they shouldn't be able to submit again. How can I do this in Apex?

  • #2
    Good day!

    This is really a Javascript issue and one that you need to search and find a solution that works for you.

    I just did a quick search and see the following- may work: http://www.the-art-of-web.com/javascript/doublesubmit/

    We try not to give programming advise in the forum considering the liability involved with such advise. The solution is quite standard and listed all over the web.

    Hope the suggestion helps.
    Regards,
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

    Comment

    Working...
    X