Issues with default values and other settings for fields in groups

Support MB Group Issues with default values and other settings for fields in groups

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16969
    jcleavelandjcleaveland
    Participant

    Hi,

    I have a series of groups within tabs that are saving to custom DB tables. I am specifically using groups because I need to clone the fields a few times within each tab.

    I cannot get the 'std' setting to work for hidden fields and I cannot get the save_format setting to work for dateTime fields or date fields.

    Additionally, I cannot get the delete button to work for a file field. Reference this ticket: https://support.metabox.io/topic/file-field-not-force-deleting/

    All plugins are up to date as of 2019/11/14.

    Thoughts?

    Thank you!

    #16983
    Anh TranAnh Tran
    Keymaster

    Hi,

    Can you please check this docs on setting default values for group's sub-fields?

    Regarding save_format for datetime fields, if fields are inside a group, then the MB Group extension will bypass it, e.g. the values of sub-fields are not processed. This is a technical challenge and we're trying to make it work.

    I'll check the delete file issue and answer you in that topic.

    #16987
    jcleavelandjcleaveland
    Participant

    Hi Anh,

    It must be some issue with the group being within a set of tabs, but I have tried all of those methods of setting the default value and it works in the tab outside of the group, but not in the group that is also in the tab.

    The handlebars around the 'group_title' are not working either except for the {#} in all other cases, it prints that actual handlebars to screen as a string.

    The full code is here if you want to do some testing: https://bit.ly/2CXk8Ne

    I can bypass each of those issues for now, the real issue is with the file delete. I'll follow up on that one in the other thread.

    Thanks!

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