Autocoplete problems

Home Forums Classic DFFS Autocoplete problems

Tagged: ,

Viewing 3 reply threads
  • Author
    Posts
    • #20674
      Phil Grant
      Participant

        Hi,
        Browser IE11
        DFFS version 4.4.3.40
        Sharepoint 2010

        I just thought I’d try the autocomplete feature but not working as I’d hoped.
        1. I setup a list with one column as a single line text, created a few records.
        2. followed the instructions to link the list.

        spjs.ac.textField({
         "applyTo": "Diagnostic_x0020_Address",
         "helpText": "Start typing the Diagnostic Address",
         "loadText": "",
         "listGuid": "{8DA6252C-231E-476C-B423-A605F0464E3E}",
         "listBaseUrl": "Site address confirmed in F12 console",
         "showField": "Column1",
         "searchFields": [],
         "filterCAML": "",
         "useREST": false,
         "preloadData":false,
         "filterREST": "",
         "optionDetailFields": [],
         "optionDetailPrefix": [],
         "enforceUniqueValues": true,
         "rowLimit": 15,
         "listOptionsOnFocus": false,
         "minLengthBeforeSearch": 3,
         "reValidateOnLoad": false,
         "allowAddNew": false,
         "isLookupInSelf": false,
         "addNewAdditionalFields": [],
         "multiselect": false,
         "multiselectSeparator": "; ",
         "orderBy": [],
         "setFields": [],
         "debug": true
        });

        Debug in console gives me this

        • This topic was modified 6 years, 7 months ago by Phil Grant.
        • This topic was modified 6 years, 7 months ago by Phil Grant.
        Attachments:
      • #20691
        Alexander Bautz
        Keymaster

          Hi,
          Try setting the “searchFields” to the same value as the “showField”. Also ensure that “Column1” is the correct fieldinternalname of the field in your target list.

          Alexader

        • #20719
          Phil Grant
          Participant

            Thanks,
            I found the “searchFields” info on another post but it didn’t make any difference.
            I’m sure that the “Column1” is the column title, but I tried again with a new list with different names but I still get the error.

            Phil

          • #20738
            Alexander Bautz
            Keymaster

              What happens if you use the “Title” field instead of the “Column1 field? Could you email me some screenshots of the config and the datasource for your autocomplete (the list with the field “Column1”.

              Alexander

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.