0 Replies Latest reply: Jan 6, 2017 2:58 PM by swana woo RSS

    when using searchsuggest function, can i get the field name of suggested value??

    swana woo

      I want to search class code among the majors in example below.

      If I type some thing 305 as searchTerm, the suggestion shows the class codes that include 305 and which field it's included.

       

       

      app.searchSuggest([searchTerm], {qSearchFields: ['engineering', 'marketing', 'science','literature']} ,function(reply){

      }

       

       

      i checked the values inside reply ,and it has the list of values for qSuggestions but nothings inside qFieldNames.

       

      Can anybody help me??

       

      Thanks in advance!