Support » Plugin: Magic Fields 2 » [Plugin: Magic Fields 2] if/else when displaying groups?

  • Kahil


    What would be the proper code for doing an if/else statement when displaying a group? I have tried several variations, but none seem to work.

    Here’s what I would like to do…

    In a group I have, which can be duplicated, a radio button list. I would like to make the group array display only those that have one of the two radio button choices. In this case if the “Unpaid” radio button is set. If the “Paid” radio is set, then it won’t display.

    Ideally, I would like to also have the section title show only if there is something marked “Unpaid” and not show when there is nothing marked “Unpaid”. So far I haven’t found a way to display the group’s label name either, so I am just doing it manually.

    Hope that makes sense. Thanks in advance!

  • The topic ‘[Plugin: Magic Fields 2] if/else when displaying groups?’ is closed to new replies.