Add and Edit form with multiple tabs

Hi @johnny
I have a form with 50-60 fields. Showing all of them on one page with a long scroll would be quite unfriendly. Is there a way to integrate Jquery tabs or Accordion list while using Add/Edit form or something else that you can suggest?

Hello @kapilchugh ,

Grouping is a feature that I would like to have in Grocery CRUD and I am keep postponing it. I want to add it sooner rather than later to be honest. Any suggestions of naming of the function? I can then use the bootstrap navigation tabs that I am using if you press the button “Columns”

I guess something like:

$crud->fieldsGrouping('Group Name', ['field1', 'field2']);

Would do the trick. I guess it won’t be too much work to do it from my side (but I can’t promise anything at the moment) for an upcoming version. What do you think?

Regards
Johnny

@johnny - That would be an awesome feature to have it. I have been waiting since a long time. If that is not going to take much time, I request to deliver it soon, otherwise it will take a lot of time for me to build something custom. :blush:
We can call it gctabs or anything.
Could you please give some timeline, so that I can plan accordingly. My first choice would always be if it is integrated as core functionality.

Hello @kapilchugh ,

I had a quick proof of concept and I believe that I could have tabs grouping for the next release. I can’t promise a timeline at the moment but I guess this can be delivered in January

Regards
Johnny

Thank you! I’ll be waiting for your updares.

Hello @kapilchugh ,

I am glad to inform you that tabs functionality is now released into version 3.1.12 :slight_smile:

You can see the documentation of how to add the group fields (I’ve named it like that) here: groupFields - Grocery CRUD - A PHP CRUD Generator Library

You can update with the simple steps that we have in the wizard here: User's Page Login

Enjoy and Merry Christmas :evergreen_tree::santa:

@johnny Oh man! You are a genius! Thank you so much for making it live so quick. I really appreciate!!
Simply Brilliant!!