Scriptlet: External URL Map

Use a look-up table combined with a scriptlet to create an "External URL Map." The sample below correlates respondent data to an external URL managed in the look-up table. An advanced rule would run on form submission, a link or a button that drives the respondent to the external site. The benefit of using an External URL map is that the links are managed in one place, so updates can roll-out globally. It also helps eliminate human error in appending dynamic URL parameters, since the links are managed in a single data source.

// look-up URL based on respondent data and drive user to location
var url = actionLookupValue("URL Map", respondent.dataname);
if(url != null){
actionGoExternalUrl(url);
}
else {
actionGoExternalURL("http://defaulturl.com");
}