How to change the input type for the chat web parts?

Kentico Support Engineer asked on January 9, 2013 15:28

How to change the input type for the chat web parts?

Correct Answer

Kentico Support Engineer answered on January 9, 2013 15:28

By default, the input type is defined as a button:
<input type="button" value="{$chat.supportrequest.openchat$}" />

For example, if you wanted to change this value to an image, you also need to define the onclick value parameter:
<input type="image" onclick="return false;" value="{$chat.supportrequest.openchat$}" />

Otherwise, you get the error message:
The server method GetSupportEngineersOnlineCount failed.

2 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.