Problem searching for names with middle name

BP Profile Search › Problem searching for names with middle name

  • Author
    Post
  • #9484 Reply
    XMG
    Guest

    Hello Andrea,

    Plugin is fantastic – but I’ve just noticed a possible issue with searching for names where there is a middle name or middle initial involved.

    Example name: John (Doe) Smith – or John D Smith – or John Doe Smith

    If you searched for John Smith, the name does not come up

    If you search John (Doe) Smith or John (Doe) or (Doe) Smith, it works.

    I have tried “Name” + “contains” and “is like” but this does not seem to work for me.

    I’m wondering if this is something you have seen and if there could be a work around.

    Thanks in advance for your help!

    #9485 Reply
    XMG
    Guest

    Quick update: one way I was able to get around this is by doing this:

    First name: (by using name field + contains)
    Last name: (by using any field + contains)

    This has helped to separate the first and last names and avoids the middle initial in 1 search box.

    I also noticed you have another solution via functions but did not seem to work for me. Would be great if I could use the name filed multiple times but so far so good!

    #9486 Reply
    andrea
    Plugin Author

    Hello XMG,

    That’s a good work-around. As you correctly noted, at the moment it’s not possible to use a field multiple times in a search form.

Reply to: Problem searching for names with middle name
My Information