• Paol

    (@paol)


    Hello!
    I have a 2 problems.

    1) Don’t work for me properly checkbox. When editing an entry, I check the checkbox, but when you return to the main list, nothing has changed. In one of the previous versions it worked without a problem.
    Is that a problem set?:
    See my settings

    2) Is it possible to add such a field with the appropriate settings for each new user (not found in the database) was automatically inserts a default value for a field. To illustrate: I have a base of 100 employees, I would like that each new employee is added to the database has a field with the value of “Check data”. The field will be visible only to me.

    Thank you for your help! 🙂
    Paweł

    http://wordpress.org/extend/plugins/participants-database/

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

    (@xnau)

    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

    Plugin Author xnau webdesign

    (@xnau)

    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.

    Plugin Author xnau webdesign

    (@xnau)

    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”.

    Plugin Author xnau webdesign

    (@xnau)

    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.

    Plugin Author xnau webdesign

    (@xnau)

    OK well, at this point, we should probably look at the error log, something is not right. Those things should all be working.

    Thread Starter Paol

    (@paol)

    But thanks for help 😉

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Broken checkbox & special field’ is closed to new replies.