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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...