Dynamically Create Field Groups from Select Field Input

Support General Dynamically Create Field Groups from Select Field InputResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36060
    Macky McCormackMacky McCormack
    Participant

    Hey,

    I'd like to dynamically create field groups to be shown dependant on user selection in a select field, when user is adding a custom post type.

    Eg:

    Select field has several options - for each option selected a field group is generated named the same as the selected item. Each field group that is dynamically generated has identical input fields.

    I know that I could use conditional logic to show the groups, but ideally I want the groups to be dynamically created so if the select options change I don't need to create more groups.

    Is this possible?

    Many thanks,

    Macky

    #36074
    Long NguyenLong Nguyen
    Moderator

    Hi,

    It is beyond the scope of support of Meta Box. It's not possible to create meta boxes dynamically based on the field value. You can create all field groups and custom fields first then use the extension MB Conditional Logic to show/hide a field group based on a condition (field value)

    #36076
    Macky McCormackMacky McCormack
    Participant

    OK thanks

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