Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to pass an Incident ID to a Survey — Cloud Customer Connect
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

How to pass an Incident ID to a Survey

Accepted answer
27
Views
2
Comments
edited Jun 8, 2022 8:57AM in Agent Desktop 2 comments

Summary

Need to pass an Incident ID to a hidden field (question)

Content

Hi everyone,

I need to pass an incident ID to a survey page and retrieve it as one of the question's responses.

I've found out that I can use Javascript to capture the query string params and store it as a hidden question.

So, I can write the Javascript code to parse the paramenter, no problem, but my question is:  

How can I edit the question in HTML format, so that I can place the question inside a DIV (this way I can ID the HTML element in JS and also make it invisible)?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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