Stop Multiple Submissions with CherryPy

17 views
Skip to first unread message

Teena Cheshire

unread,
Mar 30, 2022, 5:53:12 AMMar 30
to cherrypy-users
I had the ability to stop multiple submissions with the following HTML code.

<input type="submit" name="Add" id="Add" value="Submit" onclick="this.disabled=true;this.value='Sending, please wait...';this.form.submit();" />


When the button was clicked once it became grayed out and showed 'Sending, please wait . . .' as expected.  This no longer works.  I'm not sure if this is because cherryPy is the web server now instead of Apache.

Any direction on how I can get this button to stop allowing multiple submissions from the same submit button would be very helpful to me.

Thank you,

Reply all
Reply to author
Forward
0 new messages