Mass Remove Default Value in Repeater Field

Support MB Builder Mass Remove Default Value in Repeater Field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47332
    saintsaint
    Participant

    Hi guys,

    There was an update a little while ago which made it so that the default repeater field did not automatically fill out the first value in the repeater.

    This was fantastic, and exactly what I needed.

    However, because I added these repeater fields before the update, what I ended up with is a backend that has a default value assigned, a frontend that does NOT reflect the value... But, because I have a conditional to check if there is a value in the repeater, and if there is, to show that text...

    What you end up with is a frontend with an empty placeholder. Please see below:

    What I see on frontend: https://share.zight.com/jkujZLed
    What I see in backend: https://share.zight.com/geuDzbox

    Is there a way to mass de-select or remove the default value from each CPT record?

    I have no issues if I manually delete the first default value in the repeater, but I have hundreds of records and want to see if there is a way do this without having to do this one by one.

    Thank you,

    #47342
    PeterPeter
    Moderator

    Hello,

    It looks like the subfield value has been saved to the database and the first clone entry is displayed. You can try to access the database, table wp_postmeta and doublecheck this.
    If there is a field value of the field group, delete them all and recheck the clone entry.

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