How to disable "Submit" button and multiple submissions in Hesk3.0.1?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
dipen
Posts: 3
Joined: Tue May 12, 2020 4:33 pm

How to disable "Submit" button and multiple submissions in Hesk3.0.1?

Post by dipen »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
How to disable the "Submit" button and multiple submissions in Hesk3.0.1. I am not finding in this code <input type="submit" in index.php.
Can anybody help me with this?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: How to disable "Submit" button and multiple submissions in Hesk3.0.1?

Post by Klemen »

In Hesk 3 you will need to edit the file \theme\hesk3\customer\create-ticket\create-ticket.php

Search for

Code: Select all

<button type="submit"
Add this code after "submit"

Code: Select all

onclick="this.disabled=true;this.innerHTML='Sending, please wait...';this.form.submit();"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dipen
Posts: 3
Joined: Tue May 12, 2020 4:33 pm

Re: How to disable "Submit" button and multiple submissions in Hesk3.0.1?

Post by dipen »

Yes, it is working fine. Thanks, Klemen for your support.
Post Reply