Skip to main content
Question

How to Create a Save and Refresh Button

  • Aug 8, 2022 3:46 PM UTC
  • 0 replies
  • 999 views

Hi all, sort of flummoxed by this because I consider myself an advanced builder so am surprised that I can't figure out how to do this and the forums seem to be filled with javascript based suggestions that no longer work in formula fields

What im looking to do is simple. I want to have a button half way down a form that works exactly like the native "Save & Keep Working" functionality.

The reason I want this is because I want people to refresh the page to see an additional tab controlled by a form rule that is based on some of the previously entered data

So how can i add a "Save & Keep Working" style button? What formula would I need to do this?

Thanks

------------------------------
Process Q
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
You can do this with a Rich Text Formula field.
// first,  either use the existing Record ID# if the record has one yet, else use the "future" Record ID# after the initial save.

var text RID = IF([Record ID#] > 0, [Record ID#], %%RID%%)

var text URL = URLRoot() & "db/" & Dbid() & "?a=er&rid=" & $RID;


"<a class='SaveBeforeNavigating' data-replaceRid=true style=\"text-decoration:none; background: #4b7097; border-radius: 5px; color: #ffffff; display: inline-block; padding: 0px 0px 0px 0px; width:100px; text-align: center; text-shadow: none; border: 2px solid #030404; font-size: 12px \"href='"
& $URL
& "'>Save and Continue in Edit Mode</a>"

// you can mess around with the button appearance by carefully adjusting the parameters above.

------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------