Making pages within a group
- This topic has 4 replies, 2 voices, and was last updated 1 year, 2 months ago by
Yasmine.
-
AuthorPosts
-
July 29, 2024 at 1:58 PM #46038
Yasmine
ParticipantHello, I have a frontend form which has a very lengthy group field within in. For the rest of the form I have made use of the tabs feature to create pages. For the group field I am really struggling with js conflicts. I tried using buttons to toggle adding and removing a class which should in theory show and hide different sections - but it doesn't work as expected. There are issues when the conditonal logic is activated and there are issues showing all the fields that hould show of sections.
So I would like to ask - what is the best approach to deal with making pages within a group form field?
It would be great if you could use tabs within group fields so I could do the same as the rest of the form - but this is not an option. So what would you recommend?
Thanks!
July 29, 2024 at 11:25 PM #46047Peter
ModeratorHello Yasmine,
According to some recent topics, I understand you want to create a multi-step frontend form. But currently, this feature is not supported. If you are struggling with JS code on your site, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/
Regarding the tab field, it only works as a top field, not a subfield in a group. So I recommend simplifying your frontend form and using the tab field with other fields.
July 31, 2024 at 4:10 PM #46059Yasmine
ParticipantAlmost. I have a multi-step frontend form. I have one tab which asks for cloneable group fields. I am only asking you the best approach to turn the cloneable group field into pages (since it is nested I can't use tabs). Please can you share the approach you would use since I can't use tabs. Should I :
1. Use the custom html field to create divs
2. Use individual classesAugust 1, 2024 at 8:48 PM #46072Peter
ModeratorHello,
As I mentioned above, the tab doesn't work with the group field as a subfield. I also don't recommend making the cloneable group to pages, it will break the HTML structure of the field. If you want to add a custom HTML field or classes, feel free to test with that.
August 5, 2024 at 7:26 PM #46095Yasmine
ParticipantOk understood. Yeah I did do lots of experimenting already with classes. But the conditional formatting of other fields would then override mine. Even though I was using a display: none!important
-
AuthorPosts
- You must be logged in to reply to this topic.