Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Lizuca

    (@lizuca)

    Thanks – yes, I want to show those fields to the user, like a final check for them. It will show the prices calculated based on their selection from the previous screen. But i don’t want to allow the user to modify them. This is why originally I marked them as Read-Only. But since the information was not saved.. I made them Editable. So now I’m trying to find a way to change them to Read only – might be Javascript? But I haven’t done it before, so I’m a bit lost..
    Thanks!

    Thread Starter Lizuca

    (@lizuca)

    After doing more investigation, I managed to find a workaround.. I had some fields defined as Read-Only that I’m populating using a custom template. The issue is that those values were saved only by an admin user.
    I unchecked the Read-Only property of the fields, so now any user is able to save that information. Only that I have to find a way to make them non-editable (there are calculated prices in those fields).
    If you have any idea how to make these non-editable.. it would help me.
    Thanks!

    Thread Starter Lizuca

    (@lizuca)

    Thank you very much!! It did worked like this.
    My list shows the correct results now.
    Thanks for your help.

    Thread Starter Lizuca

    (@lizuca)

    Thanks for the answer and the temporary fix.
    However :), this will fix my issue for the existing records.. I would need to come up with something for the new records being created as well (probably an update on the DB after record is inserted).

    Thread Starter Lizuca

    (@lizuca)

    Hello, I’m still facing the same issue, trying to figure out what’s wrong.
    I deleted all the records in the database, plus the accepted field and created a new one.
    What I noticed: the filter “=” ([pdb_list filter=”phone=’]) works find for the text fields, not having any value, but it doesn’t show any result for the fields defined as radio-buttons, having values defined (Yes, No, Unprocessed), even if there are 3 records that don’t have anything in that field…
    I tried with filtering with fields shown and not shown in he Signup form, and the same conclusion apply – doesn’t work for Radio-Button fields. Being part or not of the Signup page doesn’t influence anything.

    Don’t know what to do know.. tempted to create a custom SQL and table to display the records, and drop the list shortcode..

    What do you think?

    Thanks!

    Thread Starter Lizuca

    (@lizuca)

    Uff.. got it back! 🙂
    I used Brwser Developer tools and noticed the js folder was missing.. it was one level up in the plugins folder (might be i moved it by mistake), and now back to normal..

    Thread Starter Lizuca

    (@lizuca)

    Just to add on this – I have deactivated all the plugins.. deactivate/activate Participants Database again and still I haven’t solved the issue.
    Currently only 3 plugins active: Participants Database, Responsive Lightbox (had this before even installing PDB, and all went well), and Google Analytics since recently – but i deactivated this one, deactiva/activate PDB again and still no change..
    Settings page is also not showing the tabs.
    Please help!

    Thread Starter Lizuca

    (@lizuca)

    Hi, I’ve used pdb_total for this on my site – also had the filter option, same as pdb_list.

    Thread Starter Lizuca

    (@lizuca)

    Thank you again for your reply.
    However I have to disagree – the query “accepted!Yes” is not showing the correct results – because it doesn’t show as well the records having no value in the field (which respect the condition – do not have a value of “yes”).
    And yes – I have checked now the values in the database – no value at all stored in those fields.
    I have also removed the Default value.

    The pdb_list works fine, it shows all records – the issue comes when adding filter… What I’m thinking now – is there any DISTINCT in the SELECT done for the filter that would thus ignore the empty fields?

    Thanks!!

    Thread Starter Lizuca

    (@lizuca)

    The [pdb_list filter=”accepted=” display_count = “true”] doesn’t show anything…

    What I meant by ignoring:
    – if i put only [pdb_list], the result will show me 19 records (5 having accepted as Yes, 1 No, 1 Waiting List, 12 Unprocessed
    – if I start adding filters (having ! as an operator) I’m “loosing” 7 records (out of the 12 records that have Unprocessed as a value, 5 of those I have updated in the Admin page, therefore the value is in the DB, the other 7 only show Unprocessed because is the Default value, but the field is probably empty in the DB). For example add [pdb_list filter=”accepted!Yes”], the result is only giving me 7 records (5 Unprocessed, 1 No, 1 Waiting List). The other 7 records having blank in accepted are not at all taken into consideration… I think there is a bug in the way the select is done, but not sure where to check.
    I hope it’s more clear now?

    Thanks!!

    Thread Starter Lizuca

    (@lizuca)

    Thank you for your quick reply, XNAU!!
    However.. this won’t work.. the filter just ignores the records with the empty accepted field. If I have a simple pdb_list, they will be visible, the issue is when I’m adding a filter..

    I think the correct way of filtering would be [pdb_list filter=”accepted!yes&accepted!no” display_count = “true”], meaning “&” instead of “|” (if I want to make sure I exclude all the records, the Yes and the No ones), but as mentioned.. it’s not working.(I tried both ways – the one suggested by you, and the one with & instead of |).
    Somehow filter statement ignores the record if nothing is found in that field. Any idea where i could see the code for this, to try to fix it?

    Thanks a lot!

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