• Hi, thanks for the great plugin!

    Is there a way to prevent display of a field based on an individual’s preference? For instance, some of our participants prefer their email address be private. The documentation clearly shows how to prevent the display for all participants, but is there a way to prevent display just for those who don’t want it shared? Or, perhaps someone has a workaround for this requirement?

Viewing 1 replies (of 1 total)
  • Plugin Author Roland Barker

    (@xnau)

    Yes, it’s possible. I have created a demo plugin that shows how this can be done. You’ll need a little understanding of php to adapt this to your particular situation.

    First, create a checkbox field where the user can select whether they want the info to show or not. Give it a “values” of 1,0 You can default it to 1 if you want.

    The plugin is available at the link below. Download it, make your changes, then upload it as a plugin to your site. When activated, it will control the visibility of the field according to the saved value of the checkbox.

    https://gist.github.com/xnau/afcab5f1cc4f0d9f0a5b59124d2e4060

Viewing 1 replies (of 1 total)

The topic ‘Prevent Field Display by User Preference’ is closed to new replies.