How to get value from subform fields?

How to get value from subform fields?

Hi all,

I can't get or assign value to a subform field when the trigger is on "User input".

"Harvested_Line" is a field in the subform.

Snippet:
lineList = List();
for each  record in Lines[Parent_Farm == input.Farm]
{
lineList.add(record.ID);
}
row.Harvested_Line:ui.add(lineList);

I get the error below:

Error at line number: 6
Variable 'row' is not defined.

But, this works perfectly if I change the trigger to "Addition of a row" and Choose Field is the subform's name.
    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 コンテンツ




                              ご検討中の方