You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Add Chat button to Conditional Chat Link

Received Response
13
Views
1
Comments
edited Aug 24, 2018 1:50PM in Customer Portal 1 comment

Content

We are using the Conditional Chat Link on our Chat Launch form, and I want to have it display a button rather than the 

Live Chat Chat with a member of our support team. There are agents available, with no expected wait.

How can I update the code to make this show a button rather than a hyperlink? 

The code on our page current is pasted below.

Version

Customer Portal 3.5.2, Service Cloud 17D

Code Snippet

             
<form id="rn_ChatLaunchForm" method="post" action="/app/chat/chat_landing">
                <div id="rn_ErrorLocation"></div>
<rn:widget path="input/FormInput" name="Incident.Subject" initial_focus="true" label_input="#rn:msg:SUBJECT_LBL#"/>
<rn:widget path="input/ProductCategoryInput" name="Incident.Category" label_input="Call Reason"/>
<div>
<rn:widget path="chat/ConditionalChatLink"  hide_on_unavailable="true" launch_height="700" launch_width="600"
                        error_location="rn_ErrorLocation" 
                        add_params_to_url="q_id,pac,request_source,p,c,survey_send_id,survey_send_delay,survey_comp_id,survey_term_id,chat_data,survey_term_auth,survey_comp_auth,survey_send_auth,i_id"/>
</div>

    

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!