Paweł,
1) checkbox fields must have at least one value in the “Values” field
2) to have fields that are only visible to you, put them in a group that has “display” unchecked (this is on the manage database fields page under the field groups tab). For your field, create a text field with a default value of “Check Data” and check “read only” for that field.
Thread Starter
Paol
(@paol)
Thanks a lot! 🙂
I have now another problem. Can you help me?
I would like to code [pdb_list] show me only those people for whom potwierdzenie_obecności field has the value Yes – I confirm.
According to the instructions I wrote this:
[pdb_list search = “true” sort = “true” filter = “potwierdzenie_obecnoci_w_dn_6 = Yes – confirm”]
However, I display all the people. :/
Thank you!
Paul
Paul,
Try this:
[pdb_list search = "true" sort = "true" filter = "potwierdzenie_obecnoci_w_dn_6~Yes"]
Its easier to match just part of the string and as long as it gets only the ones you want, it’s a good way to go.
Thread Starter
Paol
(@paol)
Hi,
I change for this
[pdb_list search=”true” filter=”potwierdzenie~Potwierdzam”]
Now phrases are short, but it still does not work properly – shows me all the records.
You got the filter statement wrong, it should be
filter = “potwierdzenie_obecnoci_w_dn_6~Yes”
Thread Starter
Paol
(@paol)
But fill potwierdzenie_obecnosci is Dropdown List with value “Potwierdzam”.
Hmmm, well said you were trying to use “[pdb_list search = “true” sort = “true” filter = “potwierdzenie_obecnoci_w_dn_6 = Yes – confirm”]” and I just explaind how to fix that.
The “~” operator lets you match a part of the value, so i thought it would work better.
What is the shortcode you are using?
Oh– and you shouldn’t have spaces around the operator, it won’t work.
Thread Starter
Paol
(@paol)
Sorry for confusion.
I try to use:
[pdb_list search=”true” filter=”potwierdzenie=Potwierdzam”]
There you are my setting of fields:
http://www.strefapubliczna.stadioncatering.pl/wp-content/uploads/2013/04/fields-pdb.jpg
Maybe problem is in form of fields? But I tried with another field.
I’m using [pdb_list search=”true” filter=”nazwisko=Grab”]
Nazwisko is text line.
Unfortunately, the same thing happens.
OK well, at this point, we should probably look at the error log, something is not right. Those things should all be working.