Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293241

Set active vertical tab from Form

$
0
0

I have a form generated using the Form API, which I'm having some success cleaning up with the use of the vertical tabs functions. I'd like to change which tab is active following a form submission, but am having no luck trying to do this by editing $form_state in the submit handler. '#default_tab' only works on the first form load.

What's the 'right' way of doing this?


Viewing all articles
Browse latest Browse all 293241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>