Forum Discussion
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.
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