CPT does not save data from Radio CF...

Support MB Custom Post Type CPT does not save data from Radio CF...Resolved

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #41267
    Tobias HaasTobias Haas
    Participant

    Can anyone tell me what I am doing wrong?
    No matter what I select, it always jumps back to the default value after saving.

    Originally I wanted to solve this via a switch, but as soon as I add a switch it won't let the CF group connect to the post anymore...

    Is there a limit to how many CFs I can put in a group?
    https://pastebin.com/tJtZTQFe

    #41268
    Tobias HaasTobias Haas
    Participant

    https://pastebin.com/tJtZTQFe

    #41272
    PeterPeter
    Moderator

    Hello Tobias,

    The issue with the first field radio is the option "Save field value" is disabled. So the field will not be saved value. Please check this screenshot https://monosnap.com/file/rrqiAyjg8AaR76vYivQcD4TX1cPnpl

    #41277
    Tobias HaasTobias Haas
    Participant

    Hey Peter, I missed this checkbox! Thanks very much

    Another question. I was working with a switch before I added the select field.
    As soon as I add 2 switches to the group, I can no longer connect it to the CPT. What's the problem here?

    https://pastebin.com/EQcJsqw5

    #41280
    PeterPeter
    Moderator

    Hello,

    Have you checked the option "Save field value" as I suggested above? Please see here https://monosnap.com/file/tVg0Ecobs49YW8Sa0tIUa5YC0aXQst

    #41281
    Tobias HaasTobias Haas
    Participant

    Yes, but as soon as I save the CF group, it no longer works. It then disconnects from the CPT and I can't connect it again. It only works again when I remove the switches.

    I'm just interested in why this doesn't work anymore.

    #41284
    PeterPeter
    Moderator

    Hello,

    Can you please increase the PHP setting max_input_vars to a higher value (500k or more)? Refer to this documentation https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/?swcfpc=1

    #41286
    Tobias HaasTobias Haas
    Participant

    Hey Peter,

    Thank you so much! Its working now!

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