Changed pull file from:
<html>
<head>
<meta http-equiv="refresh" content="1;URL=http://(I7)">
</head><body>Please wait for page http://(I7) to load...
</body></html>
to:
<html>
<head/>
<body>
<script type="text/javascript">
var sURL = "http://target_url/";
switch("(I16)")
{
case "sometext1":
sURL += "subdir1";
break;
case "sometext2":
sURL += "subdir2";
break;
}
document.write("Please wait for page " + sURL + " to load...");
window.location = sURL;
</script>
</body>
</html>
Issue:
Previous pull file worked fine, merge field (I7) was substitued ok. Current merge field (I16) is not substitued, so redirect fails (always goes to the root). What do I need to do to achieve the result I want?