Discussion Locked

How do I autopopulate field from a link?

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
My company's IT department uses Blue Ocean's TrackIt! 5.0 to manage its helpdesk. Our company is very focused on customer service and so we wan to use a survey page that our users can fill out when a ticket is closed. We created the survey page but we need the page to have the users ticket number to autopopulate the users ticket number when they click a link sent to them via email. Any idea how to do it?

9 replies

by nikki96

Make the link have a parameter and use script to fill in the value from it.

Link text

The page at myUrl has a script, either client-side or server-side, that takes the value of ticket from the url and populates the field with it.

How that is done depends on how the page is made (i.e. is it generated via ASP, ColdFusion, etc or is it a static page), if users' browsers support Javascript, and what browsers need supported.

If you need more info, checkyour server-side script language of choice or client-side javascript for a queryString and how to parse it.

by blaine moore

Depends on how you generate the page. If it is a straight HTML page, then use javascript:

function getArgs()
{
var args = new Object();
var query = location.search.substring(1);
var pairs = query.split(",");
for(var i=0; i

by blaine moore

Sorry, didn't finish typing and hit enter. Should read:

function getArgs()
{
var args = new Object();
var query = location.search.substring(1);
var pairs = query.split(",");
for(var i=0; i

by blaine moore

Depends on how you generate the page. If it is a straight HTML page, then use javascript:

function getArgs()
{
var args = new Object();
var query = location.search.substring(1);
var pairs = query.split(",");
for(var i=0; i

This discussion is closed to new replies.