ContributionsMost RecentMost LikesSolutionsRe: Save and Redirect to a Thank You Page 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 willdo 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. Re: Save and Redirect to a Thank You Page The experience I receive is that the form converts to a new form, which a customer can mis-interpret as they need to fill it out again, if they do, this saves an orphan record. See attached screen print. Based on that YouTube video, you should be able to do this... I copied the code directly from the free app - just trying to make it work. I only want to replicate what I see in that example. I don't want to see a copy of the form, I don't want them to be able to edit the form. They are done.When I hit the "custom" save button, the only thing that I want to return to the customer is "Thank you." Perhaps I'm not explaining my requirement very well. But the code from the ABC Customer Tracker app is: "<a class='Vibrant Success' onclick='DoSaveAdd()' href='#'><img src=\"/i/clear2x2.gif\" " & "onload=\"javascript:if(typeof QBU=='undefined'){QBU={};$.getScript('" & URLRoot() & "db/" & Dbid() & "?a=dbpage&pagename=save.js&rand='+Math.random())}\">Submit</a>" //This button changes the Document Object Model (DOM) of the page. //This button uses a variation of Dan Diebolt's image unload technique to load a dbpage called save.js. This page changes the redirect URL to a thankyou.html page. //QuickBase reserves the right to change it's code at any time without notice. A code change could render this technique inoperable. //If this button is visible on the page this will force the regular Save button to redirect as well. I've created the "save.js" page.. this just doesn't work for me. Thanks Re: Save and Redirect to a Thank You PageSorry, very confused. I'm not a programmer. The first part works fine - I get the form, no quickbase bling or confusing extra save button. Perfect. All I need is a "new" save button that doesn't allow my users additional access to edit the database and simply says good bye. Is that possible? Thanks again for your help. Re: Save and Redirect to a Thank You PageI did. This is what I have. var text URLONE= URLRoot() & "db/" & Dbid() & "?a=er&rid=" & [Record ID#] & "&dfid=11"&"&ifv=20"; var text URLTWO = "https://my_domain/db/my_db?a=er&rid="; var text URL = $URLONE & "&NextURL=" & URLEncode($URLTWO) ; "<a class=\"QBU_Button2 Vibrant Success\" href=" & $URL & ">" & "Confirm Ownership" & "</a>" Re: Save and Redirect to a Thank You PageThe experience I get is that the form refreshes to a blank form. I can fill that out and it creates orphan records.I really want just a message to return that says "thank you" and "you may close your browser" or something so my customer is successfully "terminated" from the request. To be honest, I'd love to be able to do that in two fields so it's easy to replicate in other apps. That is, here's my form, here's my save. Thanks again Re: Save and Redirect to a Thank You PageCurrently, I have a separate field for the customer link to open the form and another field for the save & redirect button. I tried putting all this code into one field but the redirect didn't go to my thank you page. Perhaps this isn't all one field? Is the URLONE the link to the form and URLTWO the save button field? Thanks Re: Save and Redirect to a Thank You PageThe first step is an email notification that includes a URL link to the form where they are asked to modify a record. See below: var text URL= "https://xxx/xxx?a=er&rid="; & [Record ID#] & "&dfid=11"&"&ifv=20";"<a class=\"QBU_Button2 Vibrant Success\" href="&$URL&">"&"Confirm Ownership"&"</a>" [This displays as a hyperlink - can it display as a button? I copied it and I was hoping "Button" actually meant a button] Once they complete this short form, this is where I'd like the customer experience to simply be a "submit" and a thank you. The thank you can be in any form. The experience I'm currently getting isa message thattheupdate has been submitted, and theyreturnto aview of the form they just completedwith the optionat the top right of thescreen to edit the form. My role has everything turned off in terms of access - with only some fields customized to allow modify. I'd love the helpto make this as simple as possible. Thanks Save and Redirect to a Thank You PageI am trying to allow "everyone on the internet" to update a record, save, and be redirected to a Thank You page. There is a lot of information out there about how to do this, I've tried a few version but none seem to redirect successfully. I started with the code below from "ABC Customer Tracking" youtube video "<a class='Vibrant Success' onclick='DoSaveAdd()' href='#'><img src=\"/i/clear2x2.gif\" " & "onload=\"javascript:if(typeof QBU=='undefined'){QBU={};$.getScript('" & URLRoot() & "db/" & Dbid() & "?a=dbpage&pagename=save.js&rand='+Math.random())}\">Submit</a>" And tried a few options suggested in the Community 1)URLRoot() & "db/" & Dbid() & "?a=dbpage&pageID=5" 2)URLRoot() & "db/" & Dbid() & "?a=dbpage&pagename=ThankYou.html}\">Submit</a>" I am not a programmer and only good at "insert your blah blah here" so I'm struggling to adapt what I read to the base I've started with (which is probably 10 years old now?) Appreciate any help you can provide. Thanks Re: Adding a button to one report that references a report from another table filtered by Record ID#Yes it does.The Table Alias for all my other tables is the same (with the addition of _DBID_) but for some reason for this table, the alias is different .. rather than _DBID_Incident Timeline ... it is _DBID_TABLE_1.I didn't think to check this before.Using the alias resolved the problem.And, the Link Text also displays correctly.Re: Adding a button to one report that references a report from another table filtered by Record ID#I replaced this with the Table Alias and it works like a champ.I'm sorry if this is something I should have known to do.Thank you!