Support » Plugin: Participants Database » Error messages in pdb_search

  • Resolved manasek

    (@manasek)


    Error messages (for example Please select a column to search in.
    Please type in something to search for.) do not display above the search form while using the pdb_search shortcode. They display only while using the pdb_list shortcode. Updated to the latest version of the plugin.

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

    (@xnau)

    As explained in the previous post, once you’re using the search that is attached to the list, it will work as expected.

    manasek

    (@manasek)

    As I explained in the previous post I cannot use the search that is attached to the list due to page layout design.

    Despite this I think error messages should display properly either above the search or above the list, but not be omitted totally.

    Plugin Author xnau webdesign

    (@xnau)

    It normally does show the error message above the list. You may need to take a look at the HTML and see if perhaps the message is prevented from showing due to another CSS rule. The way those messages work, the plugin generates a CSS rule that shows the error message, which is normally invisible. Other CSS rules can sometimes interfere with that.

    manasek

    (@manasek)

    It does show the error message above the list but it does not show error message above the search. Try this:

    Put both [pdb_search] and [pdb_list search=true] in the same page (in different locations) and click on the search button of the [pdb_list] search form – error message pops up. Now click on the search button of the [pdb_search] search form – nothing happens.
    Then, if one has [pdb_search] and [pdb_list search=false] in the same page, no way for showing error message…

    I think it might be search button submission problem in the [pdb_search] search form, not CSS rule overwritting.

    Plugin Author xnau webdesign

    (@xnau)

    OK, yes, as long as you are using AJAX search, what you’re saying is true. It should show the error message above the search form, I’ll need to check on the the javascript to see what’s going wrong there.

    In the meantime, you can uncheck “Use AJAX Searches” under the advanced tab in the Participants Database settings.

    Plugin Author xnau webdesign

    (@xnau)

    If you want to continue using AJAX, you can get the new javascript here…

    manasek

    (@manasek)

    Thank you very much for investigating. I confirm v1.5 of the javascript has solved the issue. I apreciate your help.

    Is there any way how to resolve other topic? https://wordpress.org/support/topic/links-to-show-a-list-result-with-pdb_search-in-target-page/

    It might be related to the javascript as well, just not automatically submitting the values passed through a link into the search form fields.

    Thanks again.

    • This reply was modified 3 years ago by manasek.
    • This reply was modified 3 years ago by manasek.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error messages in pdb_search’ is closed to new replies.