Set the value of lookup field based on decision box

Set the value of lookup field based on decision box

This really should be easy but im having an issue here. Help will be appreciated because it will solve so many issues for me.


I have a form that has a lookup field in it.

When a user checks off a decision check box I need to set the lookup field to a specific value.

Normally, if i wanted to set a field value I would just use something similar to the following:

      input.field = "this is the value i want to set the field to";

With a look up field this does not work.

How can I set the value of the lookup field?

The lookup field is looking up vendor names and I need to set it to a specific vendor that will always be present.

It seems i cant just use:

 input.lookupfield = "Vendor name";


Because the lookup field is not a string value and there is a type miss match..


Please help

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now