AndrewFry
6 years agoQrew Assistant Captain
After using button, return is non-functional
Typically, when I open my parent record form, click "add child record", fill out that child records form, then click save and close, it returns me back to the parent record form to continue filling it out (if needs be).
Due to certain circumstances, in my child record form, when it is a new record (not previously saved), I have a custom "Save & Continue" button. It saves the child record so that is related to the parent record and I can then bring down some item from that parent record through the child record, into a grandchild record.
However, when using that button, it appears to break the return path back up to the Parent record. After using the "Save & Continue", if I then use the built-in "Save & Close", it saves the child record, but just takes me to view the child record. It doesn't take me back to the Parent record in edit mode.
Can the return path back to the parent record be maintained some how so that even if I use the "Save & Continue" custom button, once I use the built-in "Save & Close" button, it returns me back to the Parent form in edit mode?
Here is the simple code for the "Save & Continue" buttons. It is a Rich Text Formula field.
------------------------------
Andrew
andrew.fry25@gmail.com
------------------------------
Due to certain circumstances, in my child record form, when it is a new record (not previously saved), I have a custom "Save & Continue" button. It saves the child record so that is related to the parent record and I can then bring down some item from that parent record through the child record, into a grandchild record.
However, when using that button, it appears to break the return path back up to the Parent record. After using the "Save & Continue", if I then use the built-in "Save & Close", it saves the child record, but just takes me to view the child record. It doesn't take me back to the Parent record in edit mode.
Can the return path back to the parent record be maintained some how so that even if I use the "Save & Continue" custom button, once I use the built-in "Save & Close" button, it returns me back to the Parent form in edit mode?
Here is the simple code for the "Save & Continue" buttons. It is a Rich Text Formula field.
"<div class='Vibrant Success' onclick=$('#footerSaveAndKeepWorkingMenuOption').click();>Save and Keep Working</div>"
------------------------------
Andrew
andrew.fry25@gmail.com
------------------------------