[solved]Push sub-form data from zoho creator to zoho crm

[solved]Push sub-form data from zoho creator to zoho crm

Hi Everyone,
So I have some question about how to push sub-form data from Zoho Creator to Zoho CRM.
Here is the set up :
Zoho creator set up

So my main form called customer and inside the main form, there have two sub-form fields called Trade-in Vehicle and Desired Vehicle. Also, those sub-form are using a look-up field (Customer ID) link to the main form.

Here is my code for pushing data from creator to CRM without those sub-form data :
  1. Customerinfo = {
    "ID_Number":input.Customers_ID,
    "Status":input.Status1,
    "Status_Logs":input.Status_Logs,
    ...
    ...
    ...
    ...
    "Previous_Employment_Duration":input.Previous_Employment_Duration
    };
  2. response = zoho.crm.createRecord("Contacts",Customerinfo);

Here is the CRM set up and field API name


ZOHO CRM API

So i am wondering what code should I add in order to push the data from Zoho Creator to Zoho CRM with sub-form
    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 コンテンツ




                              ご検討中の方