How to disable the 'submit' button in customer.pl

Moderator: crythias

Locked
harish
Znuny newbie
Posts: 42
Joined: 25 Jul 2010, 14:42
Znuny Version: 2.4.7

How to disable the 'submit' button in customer.pl

Post by harish »

Hello,

I am using OTRS 2.4.7 on windows and like to disable the submit button once customer user hit submit button once. I came across where customer users are pressing submit button more than once without realizing that they press 4 time the submit button. I like to disable the 'Submit' button so that customer can create only one ticket per incident and once submit button is pressed I like to disabled the submit button. How can I do it?

Thanks,

Harish
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to disable the 'submit' button in customer.pl

Post by jojo »

Thats not possible in a 2.4. It seems that you have performance issues?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
harish
Znuny newbie
Posts: 42
Joined: 25 Jul 2010, 14:42
Znuny Version: 2.4.7

Re: How to disable the 'submit' button in customer.pl

Post by harish »

Jojo,

Thanks for quick replay. Can you please elaborate on performance issue? What I want to do is: "if customer creates a new ticket and then hit the submit button" I like to make the submit button grayed out so that they can not click it again.

Thanks,

Harish
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to disable the 'submit' button in customer.pl

Post by jojo »

this will need a reload (which already occurs after submitting) so it seems that the reload of the page is slow
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
harish
Znuny newbie
Posts: 42
Joined: 25 Jul 2010, 14:42
Znuny Version: 2.4.7

Re: How to disable the 'submit' button in customer.pl

Post by harish »

jojo,

Yes, I noticed it when I visited the customer. Once they hit submit button,sometime it takes long time to refresh the screen. Since some of the user do not have patience and they will submit it again. Is there any way I can speed up? I looked through the OTRS doc chapter 17 Performance Tuning.

Thanks,

Harish
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to disable the 'submit' button in customer.pl

Post by jojo »

What kind of server is it? where is it located?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: How to disable the 'submit' button in customer.pl

Post by Mike_B »

jojo wrote:Thats not possible in a 2.4. It seems that you have performance issues?
In version 3, this IS possible and is everywhere in the UI. Once you click a submit button, the button is disabled, so you can't click it twice.
--
Mike
huntingbears.nl - @michielbeijen on Twitter
Andre Bauer
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

Re: How to disable the 'submit' button in customer.pl

Post by Andre Bauer »

harish wrote:Hello,

I am using OTRS 2.4.7 on windows and like to disable the submit button once customer user hit submit button once. I came across where customer users are pressing submit button more than once without realizing that they press 4 time the submit button. I like to disable the 'Submit' button so that customer can create only one ticket per incident and once submit button is pressed I like to disabled the submit button. How can I do it?

Thanks,

Harish
Wrong forum!

Please check where to ask questions before posting!

Ill move the thread.
Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org
harish
Znuny newbie
Posts: 42
Joined: 25 Jul 2010, 14:42
Znuny Version: 2.4.7

Re: How to disable the 'submit' button in customer.pl

Post by harish »

What kind of server is it? where is it located?

It is windows xp and it is all internal.No body is connected from outside. I looked through configuration and everything looks ok. Only when the customer submits the ticket from basement or third floor.(which is very slow network connection) that duplicated tickets were created. I can not do anything about the network connections.I told users not to press the 'submit' button twice but it is useless. They do it anyway,thinking that they did not press the submit button.

How can I improve the Performance, so that customer can send ticket once.

Thanks

Harish
Locked