Search field toggle for sql database

I currently have a search field on a map to search for the address. We would like to keep that, but then also have a toggle button on it that would allow searching for name..So basically,

Default is that it searches for the address just like it currently does, then when a toggle button is pressed the search field now is for name and looks in the database for names. (working on a design mock, but basically it will be a button that can toggle the search field between address/name.)

If a full name (John Jones) is searched for and there is a name found it will open the lender modal with all the standard info, same as if a location is picked with only one lender.

If a single name is searched for (Steve) and there are more than 1 entry in the database, then it will open the lenderlist modal, with all the names in a list...(steve jones, steve smith, steve grant, etc....) that were found, the rest of the functionality will remain the same, scroll, click to see detailed, etc...

The top of the modal list should have something like "Search results for: Steve", instead of the address it shows right now.

This needs to be done within the next 5 days. I have attached a few mocks showing how it should look and work.

Current dev site can be viewed on.....[url removed, login to view]

Skills: HTML, Javascript, MySQL, PHP

See more: steve jones, it field, modal php, database scroll, php modal, database rest, search next, javascript grant, modal javascript, javascript toggle, location mock, grant database, grant search, top search working, default search , sql entry, php toggle, location sql database, database search results asp sql, database mock, javascript map search, list toggle button, field map, list toggle, php javascript sql

About the Employer:
( 4 reviews ) Commerce City, United States

Project ID: #4467062

Awarded to:


Hi! I'm interested in it

$100 USD in 3 days
(67 Reviews)

7 freelancers are bidding on average $205 for this job


Have gone through ur requirements and interested in doing this task. Regards PHPYOUTH

$154 USD in 3 days
(28 Reviews)

HI There! Ready to start now. Thanks

$105 USD in 1 day
(31 Reviews)

Hi i am well in jquery... i do thois work k in3 days..

$262 USD in 3 days
(22 Reviews)

Thanks for the project opportunity. I would very much happy to place my bid on your project and I think all your requirement meets with my skill and expertise level. First I would like to introduce myself as a professi More

$275 USD in 3 days
(9 Reviews)

Hello Sir, I have 4+ year of experience lets complete your requirement. Please check your PMB for more details. Thanks

$154 USD in 2 days
(1 Review)

Kia ora! [url removed, login to view] are a NZ based web and software design company who have seen you here on the freelance market and are really excited about working with you and treating you to the full service, professional ex More

$386 USD in 14 days
(0 Reviews)