cancel
Showing results for 
Search instead for 
Did you mean: 

To avoid multiple submit clicks

Former Member
0 Kudos

Hi all,

Need your help, in avoiding multiple submit clicks in HTMLB.

Thanks in advance.

Regards,

Gangadharayya.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This can be done by setting the button in "Disabled" state once it is clicked. This can be done by calling a java script function on the "onClientClick" event which sets the state of the button to disabled state.

Add a similar function like this in your JSP, and do the appropriate changes, it should work fine.

function Process(){

var myID = htmlb_formid+"_getHtmlbElementId";

myFunction = window[myID];

var myButton = eval(myFunction("/* Your Button's ID */"));

myButton.setDisabled();

}

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Is it multiple click on a button?

In the OnClientClick() function you can add a javscript to make this button disabled and then process with the rest of the functionality for this event.

Does this help?