Question

This topic contains 3 replies, has 2 voices, and was last updated by  Ernest Marcinko 2 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9473

    Angel Wilding
    Participant

    Hi Ernest,

    Thank you for your quick reply.

    I did as you say.
    I have 5 pages for people and I added custom fields.

    The “Custom Fields connection Logic” is set to AND

    Please have a look here, under the search form I added the details for the 5 pages.

    http://francisclark-test.co.uk/contact-us/

    The problem is that I want only

    location + service
    location+key market
    location+expertise

    For example if I search for VAT services in Poole, Simon Anslow will not come up.

    If I change to OR all people from Poole will come up.

    I hope you understand what I mean. As you can see on the old site (http://www.francisclark.co.uk/)
    if you select a service, the key markets and expertise fields are blocked.

    I would be very grateful if you could help me as your plugin is really great.

    Thank you very much

    #9476

    Ernest Marcinko
    Keymaster

    Hi Angel,

    Thanks for the details, it made my job much easier.

    I have managed to find a decent solution for you. First, the custom field selectors support empty values. (link to the documentation) This is basically used to add an empty choice to the list, which the plugin ignores. I've added one extra option to the service, key market, expertise fields (“Select …” option). You can check that on the back-end of the plugin.

    This solves the problem you described, as if the user selects location+expertise then the others are ignored. However he can still select the other ones. To resolve that problem, I have put together a custom script, which you should put to the footer.php file in your theme directory, before the closing body HTML tag:

    This will make sure that if the user selects one from either service, key market or expertise – then the other two fields are reset to defaults (empty).

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #9489

    Angel Wilding
    Participant

    THANK YOU!!

    You are the best Ernest, I rarely come across with professionals like you.

    Thanks a lot

    All the best,

    Angel

    #9490

    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Question’ is closed to new replies.