Hello, I have a custom employee search box on the SharePoint 2013 home page which will also autopopulate employee name and loads employee search page upon clicking "Search"button. I am trying to integrate the same functionality in SharePoint Online however the auto populate is not working.
Here is the code I used:
<div class="form-group ui-front">
<input class="ui-autocomplete-input" id="employee-search" placeholder="EMPLOYEE NAME" autocomplete="off" type="text" style="height: 43px;"/>
<button class="btn btn-default" id="btnEmployeeSearch">Search</button>
I have a search result page in SPO: https://companyPortal.sharepoint.com/search/CustomPeopleSearch.aspx where all employee details exist, search box exist as well. I want to just add the People search textbox on the home page and upon clicking link, it should load the customPeopleSearch.aspx page with the value entered in the textbox. Please help.