Jump to content
PawelGIX

How to change the tab order in ProcessPageEdit::buildForm?

Recommended Posts

How to change the tab order?

I've tried to do this in ProcessPageEdit::buildForm hook, but without success.


Edit_Page_O_nas_oneplusone_pl.png

Share this post


Link to post
Share on other sites

As far as I know, the only option is to do it with the buildFormContent hook.  

Have a look here: https://github.com/adrianbj/BatchChildEditor/blob/master/BatchChildEditor.module#L371

See the commented code of the old way I did this using the BuildForm hook and then the new way by creating a new InputfieldFieldsetTabOpen with buildFormContent.

Hope that helps.

  • Like 1

Share this post


Link to post
Share on other sites

Which version of PW supports InputfieldFieldsetTabOpen? I dont't see this class in 2.6.1

Share this post


Link to post
Share on other sites

Which version of PW supports InputfieldFieldsetTabOpen? I dont't see this class in 2.6.1

As far as I know it's been around for a long time - certainly since 2.3

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...