Skip to main content
Question

Next Button on a Multi Tabbed Form

  • August 15, 2019
  • 0 replies
  • 30 views

I have a multi tabbed form that I want a next button at the bottom of the first tab that when clicked opens up the second tab automatically. I tried following the article here: https://community.quickbase.com/quickbase/topics/how-do-i-create-a-button-that-allows-the-user-to-continue-to-the-next-tab

I walked through all of the steps and have a button on my form that says "next" but it doesnt do anything when I click on it. Is there any other explanation as to where I may be messing this up? 

Heres what I have: 

Next button on form: Rich text formula:   [customButtonScript1]    & "SaveAndNextTab.js"
    & [customButtonScript2]
    & "' class='Vibrant' style='color:white; background:#427cd8; white-space:nowrap;'>Next</a>"
   & "<a class='Vibrant Danger' style=\"width:180px; text-align: center;\" onclick='DoSaveAndNext()' href='#'>23B. Save and Next</a>"


Home url: https://elginservicecenterinc.quickbase.com/db/bpgjc56je

New page: title: SaveAndNextTab.js     
text:
 var nextTabLink=$("li.ui-tabs-selected").next().children("a"); 
$("#saveAndKeepWorkingMenuOption").click(); 
$(nextTabLink).click();

Variable 1 title: customButtonScript1
text: <a href='javascript:($.getScript("https://elginservicecenterinc.quickbase.com/db/bpgjc56je?from=myqbe=";

Variable 2 title: customButtonScript2

Text: "));void(0);
This topic has been closed for replies.

  • Registered
  • August 15, 2019
Well the SaveAndNextTab javascript still works, at least for me, so that part is fine.

Is that the full code for your "customButtonScript1? Shouldn't it be pointing at your javascript page? From my understanding of what you linked you would need a=dbpage&pagename= at the end of the url instead of from=myqbe=.


  • Author
  • Registered
  • August 15, 2019
I'm probably mistaking what to do here, but the article I was following said custombuttonscript1 contains:  <a href='javascript:($.getScript("https://xxxx.quickbase.com/db/yyyyyyyy?a=dbpage&pagename=

where the url is your apps home page.