NathanHawe
5 years agoQrew Cadet
Re: Single Button to Save & Keep Working Before Editing a Record (ex. change a checkbox)?
Since the end result of each button example is a page reload, I don't think there's a way you can chain them together without making your own form in a code page and handling everything yourself.
It's a bit hacky but if the checkbox you want to update is on the form, you could update its value before saving using DOM manipulation. For example, if the field ID for your checkbox is 12:
"<div class='Vibrant Success' onclick=$('#_fid_12').prop('checked',true);$('#footerSaveAndKeepWorkingMenuOption').click();>Generate Document</div>"
------------------------------
Nathan Hawe
------------------------------
It's a bit hacky but if the checkbox you want to update is on the form, you could update its value before saving using DOM manipulation. For example, if the field ID for your checkbox is 12:
"<div class='Vibrant Success' onclick=$('#_fid_12').prop('checked',true);$('#footerSaveAndKeepWorkingMenuOption').click();>Generate Document</div>"
------------------------------
Nathan Hawe
------------------------------