MikeKlausing
6 years agoQrew Assistant Captain
Save and next tab button
I used to have a save and next button that would move the user to the next tab on my form. It no longer works and i've tried to look at the new posts about what changed but it still doesnt work. Here is what I have done
SaveAndNextTab.js
var nextTabLink=$("li.ui-tabs-active").next("[style!='display:none']").children("a");
$("#saveAndKeepWorkingMenuOption").click();
$(nextTabLink).click();
location.assign('#navTop');
customButtonScript1
<a href='javascript:($.getScript("https://xxxx.quickbase.com/db/bpgjc56je?a=dbpage&pagename>
customButtonScript2
"));void(0);
button:
[customButtonScript1]
& "SaveAndNextTab.js"
& [customButtonScript2]
& "' class='Vibrant' style='color:white; background:#427cd8; white-space:nowrap;'>Next</a>"
------------------------------
Mike Klausing
------------------------------
SaveAndNextTab.js
var nextTabLink=$("li.ui-tabs-active").next("[style!='display:none']").children("a");
$("#saveAndKeepWorkingMenuOption").click();
$(nextTabLink).click();
location.assign('#navTop');
customButtonScript1
<a href='javascript:($.getScript("https://xxxx.quickbase.com/db/bpgjc56je?a=dbpage&pagename>
customButtonScript2
"));void(0);
button:
[customButtonScript1]
& "SaveAndNextTab.js"
& [customButtonScript2]
& "' class='Vibrant' style='color:white; background:#427cd8; white-space:nowrap;'>Next</a>"
------------------------------
Mike Klausing
------------------------------