<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.creatorscripts.com/blogs/tag/userinput/feed" rel="self" type="application/rss+xml"/><title>Creator Scripts. - Zoho Blogs #UserInput</title><description>Creator Scripts. - Zoho Blogs #UserInput</description><link>https://www.creatorscripts.com/blogs/tag/userinput</link><lastBuildDate>Fri, 27 Mar 2026 01:03:57 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[Inserting multiple rows in a subform based on user input | Zoho Creator]]></title><link>https://www.creatorscripts.com/blogs/post/inserting-multiple-rows-in-a-subform-based-on-user-input-zoho-creator</link><description><![CDATA[<img align="left" hspace="5" src="https://www.creatorscripts.com/inserting-multiple-rows-in-a-subform-based-on-user-input-zoho-creator.webp"/>Learn how to automate inserting multiple rows into a subform based on user input. This tutorial covers scripting in app workflows to transfer order details to a return order form, enhancing accuracy and efficiency.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_LjrqQRGoRRWmHaHzOSuTHQ" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_iqCr-IcWT_y4PFTDLVE2DA" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"></style><div data-element-id="elm_FpyzmL07R2269Fl6g9Lchg" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"></style><div data-element-id="elm_UFy6PXOMRlKThEXFNRFAcA" data-element-type="heading" class="zpelement zpelem-heading "><style></style><h2
 class="zpheading zpheading-align-center " data-editor="true"><span style="color:inherit;">🔑 **Key Takeaways**</span></h2></div>
<div data-element-id="elm_DFajZfC_T1W0Zj7PM6Sulw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_DFajZfC_T1W0Zj7PM6Sulw"].zpelem-text { border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm_DFajZfC_T1W0Zj7PM6Sulw"].zpelem-text { border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_DFajZfC_T1W0Zj7PM6Sulw"].zpelem-text { border-radius:1px; } } </style><div class="zptext zptext-align-center " data-editor="true"><div style="color:inherit;"><div style="color:inherit;line-height:1;"><div><br></div><br><div>- 📝 Automate subform entry: Automatically populate subform fields in a return order form using a custom script based on user input to improve efficiency and accuracy.</div><br><div>- 🛠️ Custom script creation: Utilize a custom script to fetch records from an order form using an order ID, facilitating streamlined return processes.</div><br><div>- 🔄 Use of loops in scripting: Implement loops to iterate through records and subform items, ensuring all relevant data is captured and transferred appropriately.</div><br><div>- 📊 Dynamic data handling: Dynamically handle data insertion into subforms, allowing for flexible and user-specific interactions within the app.</div><br><div>- 🚀 Workflow optimization: Optimize workflows by triggering scripts based on specific user actions, such as entering an order ID, to enhance user experience and operational flow.</div></div></div></div>
</div><div data-element-id="elm__vV3nuNKWuBtYSr7CeIZtg" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm__vV3nuNKWuBtYSr7CeIZtg"].zpelem-heading { border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm__vV3nuNKWuBtYSr7CeIZtg"].zpelem-heading { border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm__vV3nuNKWuBtYSr7CeIZtg"].zpelem-heading { border-radius:1px; } } </style><h2
 class="zpheading zpheading-style-none zpheading-align-center " data-editor="true"><span style="color:inherit;">📄 **Summary**</span></h2></div>
<div data-element-id="elm_XH5c8pwrYKAkVsEASMlICQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_XH5c8pwrYKAkVsEASMlICQ"].zpelem-text { border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm_XH5c8pwrYKAkVsEASMlICQ"].zpelem-text { border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_XH5c8pwrYKAkVsEASMlICQ"].zpelem-text { border-radius:1px; } } </style><div class="zptext zptext-align-center " data-editor="true"><div><div style="line-height:1;"><div style="color:inherit;"><div style="line-height:1;"><div style="color:inherit;"><br></div><div style="color:inherit;text-align:left;"><span style="font-size:18px;">In this tutorial, we delve into the process of automating the insertion of multiple rows into a subform based on user input within an application. This functionality is particularly useful in scenarios involving forms where data from one form needs to be seamlessly transferred to another, such as transferring order details to a return order form.</span></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><span style="font-size:18px;">The process begins with the setup of an order form, which is used for placing new orders and includes a subform for selecting multiple products. This is complemented by an All Orders report that displays all existing orders, each identified by a unique order ID. The Return Order form, used for submitting return requests, also features a subform for selecting products to return.</span></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><span style="font-size:18px;">The core requirement here is that when a user inputs an order ID in the Return Order form, the products associated with that order should be fetched and listed in the subform automatically. This allows users to easily select which products they wish to return.</span></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><span style="font-size:18px;">To achieve this, a custom script needs to be written and integrated into the app. The first step involves accessing the app's editor and creating a workflow that triggers on a form event, specifically when a record is created in the Return Order form. The trigger is set to activate upon the input of an order ID by the user.</span></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><span style="font-size:18px;">Within the workflow, the script employs the &quot;fetch record&quot; task to retrieve the relevant order details using the order ID entered by the user. This involves declaring a variable to store the fetched record, which then serves as the basis for populating the return items subform.</span></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><span style="font-size:18px;">The script uses a loop to iterate through each record in the fetched order. For each product listed in the order's subform, a new row is created in the return items subform of the Return Order form. The product details, such as the product name, serial number, and quantity, are transferred to the respective fields in the new subform row.</span></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><span style="font-size:18px;">This automation not only simplifies the process of filling out the return order form but also ensures accuracy and efficiency by eliminating manual data entry errors and reducing the time taken to complete the form. It exemplifies how scripting and workflow automation can significantly enhance user interaction and data management within apps.</span></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><br></div><div style="text-align:left;"><br></div><div style="text-align:left;color:inherit;"><span style="font-size:18px;">Overall, the ability to automatically insert data into subforms based on user input is a powerful feature that can be leveraged in various types of applications to streamline operations and improve user experience. This tutorial provides a clear guide on setting up such automation, highlighting the practical steps and scripting techniques involved.</span></div></div></div></div></div></div>
</div><div data-element-id="elm_q046LrCvSYKUhlDwVXN_-A" data-element-type="button" class="zpelement zpelem-button "><style> [data-element-id="elm_q046LrCvSYKUhlDwVXN_-A"].zpelem-button{ border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm_q046LrCvSYKUhlDwVXN_-A"].zpelem-button{ border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_q046LrCvSYKUhlDwVXN_-A"].zpelem-button{ border-radius:1px; } } </style><div class="zpbutton-container zpbutton-align-center "><style type="text/css"></style><a class="zpbutton-wrapper zpbutton zpbutton-type-primary zpbutton-size-md zpbutton-style-oval " href="/zohocreator" target="_blank"><span class="zpbutton-content">Get Started Now</span></a></div>
</div><div data-element-id="elm_8iKw9oKBgjFsHhpS03XJJg" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"> [data-element-id="elm_8iKw9oKBgjFsHhpS03XJJg"].zpelem-divider{ border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm_8iKw9oKBgjFsHhpS03XJJg"].zpelem-divider{ border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_8iKw9oKBgjFsHhpS03XJJg"].zpelem-divider{ border-radius:1px; } } </style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_dbfBmRxC80pNC4cP0eO9JA" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_dbfBmRxC80pNC4cP0eO9JA"].zpelem-video{ border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm_dbfBmRxC80pNC4cP0eO9JA"].zpelem-video{ border-radius:1px; } } @media (max-width: 767px) { [data-element-id="elm_dbfBmRxC80pNC4cP0eO9JA"].zpelem-video iframe.zpvideo{ width:560px !important; height:315px !important; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_dbfBmRxC80pNC4cP0eO9JA"].zpelem-video{ border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_dbfBmRxC80pNC4cP0eO9JA"].zpelem-video iframe.zpvideo{ width:560px !important; height:315px !important; } } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align-center zpiframe-tablet-align-center"><iframe class="zpvideo " width="560" height="315" src="https://www.youtube.com/embed/eLtyQgWZpM8?si=3MNCFZRewpj-4KQD" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_YR-3D8KV5GFYDMjS7AzVTg" data-element-type="dividerIcon" class="zpelement zpelem-dividericon "><style type="text/css"> [data-element-id="elm_YR-3D8KV5GFYDMjS7AzVTg"].zpelem-dividericon{ border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm_YR-3D8KV5GFYDMjS7AzVTg"].zpelem-dividericon{ border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_YR-3D8KV5GFYDMjS7AzVTg"].zpelem-dividericon{ border-radius:1px; } } </style><style></style><div class="zpdivider-container zpdivider-icon zpdivider-align-center zpdivider-width100 zpdivider-line-style-solid zpdivider-icon-size-md zpdivider-style-none "><div class="zpdivider-common"><svg viewBox="0 0 640 512" height="640" width="512" xmlns="http://www.w3.org/2000/svg"><path d="M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"></path></svg></div>
</div></div><div data-element-id="elm_92vjL48n_LOi6HoDpPY7cw" data-element-type="codeSnippet" class="zpelement zpelem-codesnippet "><div class="zpsnippet-container"><div class="featured-posts"><h2>🌟 Featured Zoho Creator Blog Posts</h2><ul><li><a href="https://www.creatorscripts.com/blogs/post/coding-is-the-future-answers-to-the-top-10-questions">Coding is the future: Answers to the Top 10 Questions</a></li><li><a href="https://www.creatorscripts.com/blogs/post/How-to-avoid-reaching-maximum-limit-on-zoho-creator-iterations">How to avoid reaching maximum limit on zoho creator iterations?</a></li><li><a href="https://www.creatorscripts.com/blogs/post/streamlining-business-processes-with-blueprints-in-zoho-creator">Streamlining Business Processes with Blueprints in Zoho Creator</a></li><li><a href="https://www.creatorscripts.com/blogs/post/creating-multi-step-forms-and-consolidated-reports-in-zoho-creator">Creating Multi-Step Forms and Consolidated Reports in Zoho Creator</a></li><li><a href="https://www.creatorscripts.com/blogs/post/mastering-schedule-workflows-automating-actions-based-on-date-field-values-in-forms">Mastering Schedule Workflows: Automating Actions Based on Date Field Values in Forms</a></li></ul></div>
</div></div><div data-element-id="elm_uuNnSQzs4KBfyux2bq8GQA" data-element-type="divider" class="zpelement zpelem-divider "><style type="text/css"> [data-element-id="elm_uuNnSQzs4KBfyux2bq8GQA"].zpelem-divider{ border-radius:1px; } @media (max-width: 767px) { [data-element-id="elm_uuNnSQzs4KBfyux2bq8GQA"].zpelem-divider{ border-radius:1px; } } @media all and (min-width: 768px) and (max-width:991px){ [data-element-id="elm_uuNnSQzs4KBfyux2bq8GQA"].zpelem-divider{ border-radius:1px; } } </style><style></style><div class="zpdivider-container zpdivider-line zpdivider-align-center zpdivider-width100 zpdivider-line-style-solid "><div class="zpdivider-common"></div>
</div></div><div data-element-id="elm_x66uc2-OtJ9I8bwf1J5Uwg" data-element-type="codeSnippet" class="zpelement zpelem-codesnippet "><div class="zpsnippet-container"><div itemscope itemtype="https://schema.org/FAQPage"><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">What are low-code solutions examples?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><p itemprop="text">Low-code solutions examples include platforms like Zoho Creator, OutSystems, Mendix, and Microsoft Power Apps. These platforms provide visual development interfaces that enable users to create applications with minimal coding, accelerating the development process.</p></div>
</div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">How is low-code industry shaping the future of business?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><p itemprop="text">The low-code industry is shaping the future of business by empowering citizen developers and speeding up application development. It allows business users with no coding experience to create applications, enabling faster innovation, increased agility, and improved digital transformation.</p></div>
</div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">What can you build with low-code?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><p itemprop="text">With low-code, you can build a wide range of applications, including customer relationship management (CRM) systems, workflow management tools, project management platforms, employee portals, and more. The flexibility of low-code platforms allows for customization and scalability to meet specific business needs.</p></div>
</div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">What is the future of low-code platform?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><p itemprop="text">The future of low-code platforms looks promising. As businesses continue to embrace digital transformation, low-code will play a vital role in accelerating application development and enabling citizen developers. The platforms will evolve with new features, integrations, and improved user experiences to cater to evolving business requirements.</p></div>
</div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">Which company uses low-code?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><p itemprop="text">Many companies across industries use low-code platforms to streamline their application development processes. Some notable examples include Siemens, Toyota, Deloitte, Lufthansa, and Liberty Mutual. These companies leverage low-code to accelerate innovation, enhance operational efficiency, and improve customer experiences.</p></div>
</div><div itemprop="mainEntity" itemscope itemtype="https://schema.org/Question"><h2 itemprop="name">What is low-code strategy?</h2><div itemprop="acceptedAnswer" itemscope itemtype="https://schema.org/Answer"><p itemprop="text">Low-code strategy refers to an organization's approach to utilizing low-code platforms and methodologies. It involves identifying use cases, establishing governance, training citizen developers, and integrating low-code development into the overall digital transformation strategy. A well-defined low-code strategy can drive innovation, agility, and cost savings.</p></div>
</div></div></div></div></div></div></div></div></div> ]]></content:encoded><pubDate>Wed, 03 Jul 2024 12:00:55 -0600</pubDate></item></channel></rss>