Making pages within a group

Support MB Group Making pages within a groupResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #46038
    YasmineYasmine
    Participant

    Hello, 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!

    #46047
    PeterPeter
    Moderator

    Hello 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.

    #46059
    YasmineYasmine
    Participant

    Almost. 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 classes

    #46072
    PeterPeter
    Moderator

    Hello,

    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.

    #46095
    YasmineYasmine
    Participant

    Ok 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.