Forum Discussion
Where do you want to redirect the user to after the save?
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
App Home page
------------------------------
Ravi Siddana
------------------------------
- MarkShnier__You9 months agoQrew Champion
Try this as a Rich Text formula field
var text URL = URLRoot() & "db/" & AppID();
"<a class='SaveBeforeNavigating' style=\"text-decoration:none; background: #Dade07; border-radius: 5px; color: #0a0a0a; display: inline-block; padding: 5px 5px 5px 5px; width:120px; text-align: center; text-shadow: none; border: 2px solid #0a0a0a; font-size: 14px \"href='"
& $URL
& "'>SAVE</a>"That should work as long as the ONLY change on a form is in the Grid Edit section of an embedded child table. If you have that situation, post back.
Also, if this is a very old app, then you may need to enable the setting to Auto save when redirected away from the page on the advanced settings for the table.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------- RaviSiddana9 months agoQrew Trainee
Thank you for your response. I will check and update you.
------------------------------
Ravi Siddana
------------------------------ - RaviSiddana9 months agoQrew Trainee
Thank you for the help. Its working. Is there any way instead of redirecting to Home page I want to show Some message like "Thank you for filling the form. We will check and Revert Back"
------------------------------
Ravi Siddana
------------------------------- MarkShnier__You9 months agoQrew Champion
Yes, you can create a rich text page with your words. Once you are viewing a page, take note of the page number in the URL at the top of the screen, or else, the page ID number also shows when you were viewing your list of pages.
Then change the URL to be this.
URLRoot() & "db/" & AppID() & "?a=ShowPage&PageID=10"
replace the 10 with the page ID of your page.
The pages menu is reached off the settings for the application, and select a rich text page type.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------