• Is it possible to create a filter to control the display of individual fields in a record. Example: A member does not want their email address to be displayed. Can I have a field “display_email” that controls whether the “email” field is displayed when I use the shortcake [pdb_list]? How would I do that?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You will need to have some php skills for this, and there are several ways to do it.

    Perhaps the easiest is to use a custom template (read the linked article to see how to set that up) and in your custom template, there is a loop that adds each field to the display. In that loop, you look for your email field, and before it is added to the display, you check on the value of the preference checkbox and decide whether to skip displaying the email field or not.

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional display of a field within a record’ is closed to new replies.