Skip to main content
Question

Save and Keep Working Button

  • September 14, 2021
  • 0 replies
  • 153 views

Hi All,

Is there a way to add the Save & Keep Working option as a button in a form? I've found other posts claiming to be able to do this with this pasted into a Formula - Rich Text field:

"<div style='Vibrant Success' onclick=$('#footerSaveAndKeepWorkingMenuOption').click();>Save and Keep Working</div>"

However, when I try and save that I get this error:

There are one or more problems with your entry

Only text, Quickbase-accepted functions, fields, variables, and certain HTML tags are allowed in this field. JavaScript is not supported.

Any ideas?

------------------------------
Daniel Johnson
------------------------------
This topic has been closed for replies.

  • Author
  • Registered
  • September 14, 2021
Just tried the suggestion from here: https://resources.quickbase.com/db/bq8meiyhh?a=dr&key=-1

In a Formula - URL field put:

var text rid =
If([Record ID#]>0,
ToText([Record ID#]), // Record ID already exists
"%%rid%%" // New record, no Record ID exists yet
)
;
var text url = URLRoot() & "db/" & Dbid() & "?a=er&rid=" & $rid;

"<a class='Vibrant Primary SaveBeforeNavigating' data-replaceRid=true href='" & $url & "'>Save & Keep Working - Rich Text</a>"

That spit out the following error in Chrome:

This site can't be reached

Check if there is a typo in %3Ca%20class%3D%27vibrant%20primary%20savebeforenavigating%27%20data-replacerid%3Dtrue%20href%3D%27https.

If spelling is correct, try running Windows Network Diagnostics.

DNS_PROBE_FINISHED_NXDOMAIN

Any ideas?

------------------------------
Daniel Johnson
------------------------------