Client Script: Undocumented new function/feature or it's a work in progress?

Client Script: Undocumented new function/feature or it's a work in progress?

So I recently found out about client scripts and while messing around in Zoho CRM and in the client script editor when referencing a Field type, two of the available functions shown in the auto completion dropdown are .getSuggestions() and .addSuggestions().

It would appear these are maybe a work in progress feature as there is no mention of these in the ZDK documentation page(s) and it doesn't seem to fully function 100% at the moment or I'm just doing something wrong and not using it right or in the correct spot which is why I'm making this post to see.  The functionality of the two functions is to get the/give auto complete suggestions when typing in a text form field (which is awesome) similar to how the default Country text fields for addresses already does this when you start typing the name of a country.

The example given in the tooltip popup shows you use it as such:

var field_obj = ZDK.Page.getField('State');
field_obj.setSuggestions([ 'New York', 'Washington', 'Ohio' ]);

Upon actually giving it a try though it does work in that it shows the suggestions after you start typing about 2 letters or so BUT it then places and leaves a spinning loading icon at the end of the input field on the form as if its trying to load something after you start typing something to get it to work the first time; in which case it'll then stay there until you refresh/leave the page.  Also it messes with and breaks tab indexing on the form for that form field you use it on and you're not able to tab directly to that field in the form it'll just skip over it requiring you to have to click the field input to start typing inside it.

So while it works to a degree it also doesn't fully work.  Anyone have any experience using these yet?
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方