Can we add Ajax based search for the skills database in UNA ?

Hi @Alex T⚜️ , @Alexey ,

Can anyone please guide me how to achieve the use case as mentioned in the enclosed video. I am trying to list the skills for a profile from the database.

I already have conditional and dependent fields modules installed but confused on how to integrate the API into the page to achieve.

Thanks for your help,

Pavan

  • 478
  • More
Attachments
Replies (3)
    • Hello @Pavan Kumar !

      We have almost the same AJAX-based search which shows the results by entered info. Did you try it?

      • Yes @LeonidS , in search block it is there but i am unable to find the documentation how to add that in the page. Any documentation or code block will help to do it.

        • As you may see, the search input field has the following code:

          <input placeholder="Search..." onkeydown="return bx_search_on_type(event, 5, '', '#sys_search_results_quick', '', 1, 1, bx_site_search_complete);" onpaste="return bx_search_on_type(event, 5, '', '#sys_search_results_quick', '', 1, 1, bx_site_search_complete);" type="text" name="keyword" value="" data-frmt-24h="on" data-frmt-date="D MMM YYYY" data-frmt-datetime="D MMM YYYY h:mm:ss a" class="bx-def-font-inputs bx-form-input-text">

          The 4th argument of the bx_search_on_type function is the # id of the area where the search result will be loaded. So you may change it in your variant, or locate div in the proper place on your page(s).

          Login or Join to comment.