Forum Discussion
I reached out to Kirk Trachy at quickbase and he was able to solve my problem. In my "save.js" page, I was redirecting based on adding a new record when in fact I was editing an existing record. So, this code for the save.js page will do both.
Thanks again for all your help in trying to solve this problem - greatly appreciated!
(function(){
var querystring=document.location.search;
if (/nwr/i.test(querystring)) {
$("#RedirectURL").val(gReqAppDBID+'?a=dbpage&pagename=ThankYou.html&ifv=20');
$("input[name=rl]").val("");
}
else if(/a=er/i.test(querystring)) {
$("#RedirectURL").val(gReqAppDBID+'?a=dbpage&pagename=ThankYou.html&ifv=20');
$("input[name=rl]").val("");
}
})();
//This page is loaded automatically by using a variation of Dan Diebolt's image unload technique where a transparent image
//located within the "Submit" button field is displayed thus pulling this page.
//The if test above only will change the RedirectURL if nwr is contained within the URL.