• If I use the following shortcode it will display every field that I have configured.
    i.e.
    echo do_shortcode(‘[pdb_record tabs=true record_id=’.$user_id.’]’);

    If I want to leave a few fields out of the data collection I have to use fields=”field_1,field_2,etc” parameter for every field I want to include. If I have a lot of fields this can be rather tedious. Is there a command where I can simply specify which field or fields I want to omit. For example if I wanted to omit ‘title’ and ‘initials’ it would be good if I could specify something like the following
    i.e.
    echo do_shortcode(‘[pdb_record tabs=true fields<>”title,initials” record_id=’.$user_id.’]’);
    Do you have such a command?
    Thanks

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

    (@xnau)

    The only alternative is to use field groups so that you can determine which fields need to be included by listing the field groups to include. If the fields can’t be grouped the way you need, then you must list all the fields.

    Thread Starter supernova42

    (@supernova42)

    For some reason you cannot use the fields and groups commands together. It’s either one or the other.
    Thanks

    Plugin Author xnau webdesign

    (@xnau)

    Yes, that is correct, it’s one or the other.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Restricting fields for data collection’ is closed to new replies.