Forum Discussion
GeoffreyHarmuth
8 years agoQrew Captain
Thanks Dan, so I figured it out. so for those of you that want to know what the code is to remove the buttons on mobile, here we go:
$("div.btn-form-footer.btn-form-container-3btns").hide();
//removes full footer buttons in mobile
$("div.btn-form-header.btn-form-container-3btns").hide();
//removes full header buttons in mobile
$("div.ui-btn.ui-btn-up-s.ui-btn-inline.ui-shadow.ui-btn-corner-all.ui-fullsize").hide();
//removes both save and save and new buttons in the header, but leaves cancel.
I cant figure out how to just remove the "save and add new" button without also removing the "save" button.
Hope this helps someone save some time!
$("div.btn-form-footer.btn-form-container-3btns").hide();
//removes full footer buttons in mobile
$("div.btn-form-header.btn-form-container-3btns").hide();
//removes full header buttons in mobile
$("div.ui-btn.ui-btn-up-s.ui-btn-inline.ui-shadow.ui-btn-corner-all.ui-fullsize").hide();
//removes both save and save and new buttons in the header, but leaves cancel.
I cant figure out how to just remove the "save and add new" button without also removing the "save" button.
Hope this helps someone save some time!
LorraineChung
8 years agoQrew Trainee
Thanks for this!! It totally worked!
But somehow it removed the submit button that I created in the form
Has anyone figured out how to just remove the "save and add new" button without also removing the "save" button, and change "save" to "submit"?
But somehow it removed the submit button that I created in the form
Has anyone figured out how to just remove the "save and add new" button without also removing the "save" button, and change "save" to "submit"?