record save redirects to tab?

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I'm creating a guided process of saving of a record that uses tabs for each step. Is it possible to redirect to the next tab upon the saving of one? I have created a custom save button with a redirect of #TABID. When I click the button it saves the record and my browser URL does add the #TABID. However, it doesn't actually change the tab.

If I hit enter in my browser URL window, it does then go to the correct tab.

Any ideas how to make this work from the button?
Photo of Seth Leonard

Seth Leonard

  • 662 Points 500 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Seth,

Are you using the Wizard component?  The buttons and actions can all be declaratively setup.

http://help.skuidify.com/m/components/l/102570-the-wizard-component-create-new-contact-wizard

Thanks,

Bill
Photo of Seth Leonard

Seth Leonard

  • 662 Points 500 badge 2x thumb
I am not. That's not quite what I'm going for, and would prefer the Tabs visual approach, where users can skip around as needed. It's not really a sequence, though there is value to "Save and Next" button.
Photo of Seth Leonard

Seth Leonard

  • 662 Points 500 badge 2x thumb
Found the right snippet:

skuid.$( "#tabsID" ).tabs( "option", "active", 1 );