• Resolved pierjeant

    (@pierjeant)


    This is my first website with wordpress. http://snapps.riverviewproject.com/
    I am trying to create a search form for visitors to find a pet care service in their own zip code. (we are a group of 20 pet care providers covering several zip codes with 5 to 8 specialties each.It does not really need to be sorted (it is definitely a plus), only to give back the corresponding providers would work.

    I placed this on my page
    [pdb_list search=”true” sort=”true” CSS=”jhcb_members” orderby=”company” fields=”company, area, zip, specialty, first_name, last_name, phone, status” display_count=”true”]

    this is good excepted that I need to ADD
    1) a multiple choice check-box for “specialties”
    2) a second check box for pet sitting ” categopries”
    how can I do this ?

    Prior this I created an HTML search form but I cannot find the PHP codes to retrieve the results of selected info on a web page – only the full database. I have been working a month at 8 to 10 hours a day and I decided to switch with participant database. Can anyone help my old bones (70) and a newbie to php.
    I need to finish this asap.
    Thank you.

    https://wordpress.org/plugins/participants-database/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Roland Barker

    (@xnau)

    Send me an email describing what you want, I might be able to help you out.

    support@xnau.com

    I got search box to appear, but when it’s loaded, it’s already displaying available records. How can I make it so that search box comes up without any record showing until they run the search?

    I used: [pdb_list search=”true”]

    Nvm, your other notes has all info needed for this.
    Thank you! this is a great plugin!

    Thread Starter pierjeant

    (@pierjeant)

    hello Xnau,

    I did send an email but I realize that hitting reply on my email only send my mail to a no-reply
    Simply stated all I need to know is how to install a multi choice check-box for the specialty. field : (which is the MAIN interest in my search form.
    http://snapps.riverviewproject.com/?page_id=240

    In the actual form, visitors don’t know what particular “specialties” any member pet service provider has to offer and they might type it wrong.
    That is why I need to add a check-box for “specialty”under the search form “select”

    [pdb_list search="true" sort="true" CSS="members" orderby="company" fields="company, area, zip,<strong> specialty,</strong> pet_sitting, first_name, last_name, phone, status" display_count="true"]

    Is this possible? How should I proceed?
    thank you again
    Pierjean

    Ps
    I found your page http://xnau.com/work/wordpress-plugins/participants-database/pdb-templates/ and followed your instruction.
    I did copy the pdb-search-default.php and pdb-single-default.php files into a custom My_theme directory inside wp-content but I do not know enough of PHP to go any further.

    I opened the pdb-search-default.php into WP appearance editor but my knowledge stops here.
    Could you guide me into this?
    I am retired with low income so I cannot hire a pro to do this for me.

    I did wanted to do my home work before soliciting for help so I have been studying/ experimenting non-stop for a month+,
    I made some progress but I cannot find anywhere how to finish this with baby steps.

    I am sure you are a very busy person, from a newbie point of view I think you did a tremendous job into creating this plug-in and explaining things in detail. your search form help me get my first positive result after trying so many plug-ins.
    But I am really stuck at this point….would really appreciate your help

    Thank you

    Pierjean

    My wordpress version is 4.0.1
    My server Php version is 5.4
    Mysql version is 5.4.40
    dress.

    Plugin Author Roland Barker

    (@xnau)

    I felt this would be better handled over email, but I’ll respond here.

    What you want to do will require you have a good handle on how HTML forms work. The plugin isn’t set up to do this, so you’ll need to create a custom search form. So as you might guess that’s more in-depth than I really have time to get into in this forum.

    If you understand the data the search form is collecting in order to perform the search, you can successfully replace the search form with one of your own creation, just be sure it has all the same named input fields. You can even copy the HTML output to give you a starting point for your own search form. Replace the text input with your dropdown, and you will have a working search form with a dropdown instead of a text input.

    A custom plugin template is the best way to implement your custom form.

    Thread Starter pierjeant

    (@pierjeant)

    I understand. I’ll try that, Thank you

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

The topic ‘search form with a multiple check-box’ is closed to new replies.