Is it possible to create a "Save and Keep Working" button from a formula URL field?

I realize the "Save and Keep Working" button was introduced by Quickbase, but I am wanting to add it somewhere in the middle of my form. I've seen posts relating to this kind of thing, but all of theme were published prior to the introduction of the "Save and Keep Working Button" and I can't seem to get any of them to work. Any thoughts?

Thanks for your response. I just tried this and perhaps I'm doing something wrong, but this is saving the record, but then opening the form in view mode; as opposed to saving and reopening edit mode. Any thoughts?

I tried this as well, but now I'm noticing that regardless of whether it is dr or er, it doesn't save any of the data entered into the form prior to pressing the button. All it is doing is reopening the form in either view or edit mode, as opposed to saving and reopening the edit form.

When it is clicked it will trigger the clicking of the native Save and Keep Working button (even though it is not visible at the moment). FWIW, this type of strategy of embedding JavaScript into a form which emulates a user clicking on a native features is safer than other methods of more directly invading the native markup and code.

Ok thanks. I tried to add a New field in a completely different application and paste it in there...and it doesn't work there either. I'll putter around and see what I can come up with...I'll let you know if it gets solved.

Ok...that's embarrassing. I forgot the form setup does not automatically default to Save and Keep Working. That has to be done before trying this awesome formula out. Very sorry for wasting your time...thanks again.

No problem - I have to answer a number of mundane questions like this so the forum censor does not wholesale delete my more radical posts dealing with QuickBase customization and scripting (which reveal awesome new capabilities and the future of Quickbase) and my favorite pastime of decoding the Voynich manuscript

Well I have a truckload (100s) of similar techniques for which I just need a kitschy name, an image macro or some other gimmick in order to promote the technique. Just get me the raw concept and I will get you the technical solution. Something creative like this:

This works great. But, how can I activate the Save & keep working feature from the header? Using "onclick=$('#saveButton')" as mentioned above activates the normal save function which I've set to redirect to an error message because I have created my own own 'save' and 'apply changes' buttonsAnd, using "onclick=$('#footerSaveAndKeepWorkingMenuOption')" only works if the footer is added to the form. I'd prefer not to have it there.

Here's a cleaner way to do this, replicating the color and style of the standard 'Save & keep working button' while allowing it to be placed anywhere on the form:

1) In the form properties, check the box to "Show save & keep working choice." (It's not necessary to also check the box to show the save and cancel buttons at the bottom of the form. That's optional.)

2) Create a global variable for your app at Setting >> Variables ... Let's say you call it "mySaveKeepWorking" or something similar ... and give it exactly the following value (the quotes are critical!)

3) In your table, create a rich text variable ... say it's called "mySKW" and give it exactly and only the following value:

[mySaveKeepWorking]

4) In your form, place the mySKW field wherever you want, as often as you like. Each time, be sure to check the box for "Use Alternate Label Text" while leaving the value blank, and to set the form-row for "edit and add" modes.

When you save the form, Quick Base will ask you to confirm that you really do want the mySKW field to appear multiple times, which you do!

That's it. One wrinkle: it might be nice to have mySKW return to the same spot on the form where it was clicked. That's doable but a bit fancier. Post back here if interested.

Quick Base could change these, of course, but that seems low-probability for now. You can find them by using the developer tools in your browser to inspect the source code for a page, and doing ctrl-F for "#save" ...

Haven't tested the 'Save & Nothing More' idea, but looking at the HTML, I am wondering if it will do Save & close OR Save & next OR Save & keep working ... depending on what the user last selected from the save button menu ??? (Save & close would be the default, if the user had never selected another option.)