Discussions

Expand all | Collapse all

can you create a button to save then go back to edit

Shontay Shontay09-15-2016 14:15

  • 1.  can you create a button to save then go back to edit

    Posted 09-15-2016 12:59

    Below is the code for my working save button, I just need to add the edit

    "<a id='saveButton' class='Vibrant Success' onclick='DoSaveAdd()' href='#'>Schedule Multiple Orders</a>"



  • 2.  RE: can you create a button to save then go back to edit

    Posted 09-15-2016 13:50
    See this post here.

    I think that the Answer by Benjiamin and the link to Dan Diebolt app are the same.

    https://quickbase-community.intuit.com/questions/1044131-button-to-save-and-stay-in-editing-record-form?jump_to=comment_2480248


  • 3.  RE: can you create a button to save then go back to edit

    Posted 09-15-2016 13:54
    Save and Continue editing

    "<a class='Vibrant Success' onclick=$('#RedirectURL').val(document.location.href.replace(/&rl=[a-z0-9]*/,''));$('[name=rl]').val('');$('#saveButton').trigger('click'); href='#'>Save & Edit</a>"


  • 4.  RE: can you create a button to save then go back to edit

    Posted 03-07-2018 15:49
    This does not work for new forms, only forms that have already been saved.  When using this on a new form, it saves that form and creates a new form.  Has anyone found a way to save the form and continue editing that same form?


  • 5.  RE: can you create a button to save then go back to edit

    Posted 03-07-2018 15:56
    The native solution is this:

    There is a setting in form properties to enable that feature.

    It�s called save and keep working.


  • 6.  RE: can you create a button to save then go back to edit

    Posted 03-07-2018 16:20
    Thanks for the quick response.  Your answer on my other post was what I was looking for.  Apparently one of the updates messed up Dan's old code, so it no longer takes you back to the same record you just saved.

    The code below is working great though, saves New and Existing records and takes you right back into Edit mode on the same record you were just on

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

    Thanks so much!


  • 7.  RE: can you create a button to save then go back to edit

    Posted 09-15-2016 13:57
    This might be a silly question but do I add the redirect URL or the code is functional now


  • 8.  RE: can you create a button to save then go back to edit

    Posted 09-15-2016 13:58
    Just make a new URL button and paste in that new code and it should work.


  • 9.  RE: can you create a button to save then go back to edit

    Posted 09-15-2016 14:15
    Thanks this worked


  • 10.  RE: can you create a button to save then go back to edit

    Posted 11-29-2017 01:53
    I'm looking for a button to put on a form that simply saves the current changes to the form *without* having to close the form (and the reopen the record again to make more changes).  The above button formula URL almost works.  It does save the changes, but I get an error:

    This site can�t be reached

    %3Ca%20class%3D%27vibrant%20success%27%20onclick%3D%24%28%27�s serverDNS address could not be found.


    ERR_NAME_NOT_RESOLVED

    When I go back in the browser, the changes have been saved.  So like I said, it almost works.  Please advise.  


  • 11.  RE: can you create a button to save then go back to edit

    Posted 11-29-2017 02:05
    Is there a reason you don�t want to use the

    �Save and Continue Editing� button.


  • 12.  RE: can you create a button to save then go back to edit

    Posted 11-29-2017 02:10
    Well...that would be great, but I don't seem to have that button.  My Save button has "Save and Close" and "Save and Next".  


  • 13.  RE: can you create a button to save then go back to edit

    Posted 11-29-2017 02:15
    There is a setting in form properties to enable that feature. :). It�s called save and keep working.


  • 14.  RE: can you create a button to save then go back to edit

    Posted 11-29-2017 02:18
    Who knew!  Bingo.  Why would they they bury that option rather than make it a default??  Thanks for the education. 


  • 15.  RE: can you create a button to save then go back to edit

    Bronze
    Contributor
    Posted 01-30-2018 18:08
    This works great, but not on mobile. Any idea why?