rwmb_begin_html and group field

Support MB Frontend Submission rwmb_begin_html and group field

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44830
    Nicholas CoxNicholas Cox
    Participant

    Hi

    does the filter for rwmb_begin_html support group fields which are cloneable?
    https://docs.metabox.io/filters/rwmb-begin-html/

    thanks

    Nick

    #44837
    PeterPeter
    Moderator

    Hello Nick,

    Yes, it supports all fields, cloneable or non-cloneable.

    #44839
    Nicholas CoxNicholas Cox
    Participant

    ok great, if the fields are repeated then will the rwmb_begin_html duplicate the html?

    I am basically trying to prefix some html before every repeatable group field, is there a way to also know which numbered clone it is targeting? e.g. clone group 1

    #44853
    PeterPeter
    Moderator

    Hello,

    The begin HTML is not duplicated, the field wrapper will be duplicated. You can use the Inspect tool of the browser to check the HTML structure, screenshot https://imgur.com/LvoxdxO

    I'm not sure if there is a way to also know which numbered clone it is targeting, you can try to use the JS code and append your prefix HTML.

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