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.
- QuickBaseCoachD7 years agoQrew CaptainI will post code when I get the office. On the ipad the code won�t post.
- QuickBaseCoachD7 years agoQrew CaptainI think what you are saying is that you wanted to use the &ifv=20 to get rid of the "Quick Base bling" and now you do not have a SAVE button because it was lost with the rest of the "bling".
Here is some code for a Formula Rich Text field type to make your own SAVE button and label it how you like.
"<a id='saveButton' class='Vibrant Success' onclick='DoSave()' href='#'>WhatEverYouWantYourButtonToSay</a>" - AnneTheisen7 years agoQrew Trainee
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
- QuickBaseCoachD7 years agoQrew CaptainI cannot help you with the code i did not supply. You may want to contact me directly for one on one assistance.
QuickBaseCoach.com