T
|
Tim 5/9/2017 |
Hi Eric, |
J
|
jetsguy author 5/9/2017 |
Hi Eric, I once added an additional "save and return" button to the edit page, which saved the record and returned to the list page. I had the regular save button set to save and go to the next record. In the visual editor I added a new button next to the regular save button and in the "Client Before" section I added this: pageObj.on('beforeSave', function(formObj, fieldControlsArr, pageObj){ formObj.baseParams['golist'] = "1"; }); $("#saveButton1").click(); return false; Nothing is needed in the "Server" or "Client After" sections. I hope this helps. Thanks, Tim
|
admin 5/11/2017 | |
It does work in version 9.7 but you only need the following in ClientBefore: $("#saveButton1").click(); |
J
|
jetsguy author 5/11/2017 |
It does work in version 9.7 but you only need the following in ClientBefore: $("#saveButton1").click();
|
J
|
jetsguy author 5/11/2017 |
Thank you it works for the "edit" page. Any chance there's something that can work for "inline edit" page?
|