Stop Multiple Submissions with CherryPy

30 views
Skip to first unread message

Teena Cheshire

unread,
Mar 30, 2022, 5:53:12 AM3/30/22
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,

Sviatoslav Sydorenko (@webknjaz)

unread,
Jan 16, 2023, 12:13:09 PM1/16/23
to cherrypy-users
середа, 30 березня 2022 р. о 11:53:12 UTC+2 tche...@rfschools.com пише:
Google: CSRF
Reply all
Reply to author
Forward
0 new messages