How to Properly Set Subforms in Zoho Creator: A Step-by-Step Guide

How to properly set Subforms in Zoho Creator Part 2

To build a robust Order form in Zoho Creator you need to be able to automatically "fetch" the information about a product and let the system pre-populates the subform with pre-existing data in the Products Table.

First, you need to have a Products form with all the relevant information about the Product. Price, Description, etc.

Second, you need to fetch the Product information-based "On user input" inside the items Subform and add the below deluge scripting.

prodct  =  Products  [ID == row.Product];
row.Description = prodct.Description;
row.Price = prodct.Price;
row.Qty = 1;
if ((row.Price  !=  null)  &&  (row.Qty  !=  null))
    row.SubTotal = (row.Price  *  row.Qty);

Subform Zoho Creator

Check out other Zoho Creator blog posts that may help you understand how to build applications in Zoho Creator
    • Related Articles

    • How to properly set Subforms in Zoho Creator Part 3

      The first step is to have the Subtotal or Total field value in the Order Form. Normally this would be a currency field or decimal field if you need to consider 1 or more decimals into your calculations. If not you can also set it the field as a ...
    • How to properly set Subforms in Zoho Creator Part 1

      This is the most important step in the process of setting up your Zoho Creator database. A properly linked setup will enable your information to run smoothly and avoid wasting space ( MB ) First, you need to create at least 2 Forms. For example.- ...
    • How to define number of subform rows dynamically using script in Zoho Creator?

      It´s important to highlight that this post assumes you are already familiar with proper subform creation in Zoho Creator. If you are not please check out our Master Zoho Creator Subforms course in the url below before implementing this custom ...
    • What to do if you get locked out of your Zoho Account ?

      You need to contact Zoho Team directly @ Email: the instructions you need to follow are below Thank you for writing to us. Please respond to the below-requested security questions, so that we can validate and provide you a ...
    • How to search ZOHO CRM Contacts using Phone value?

      Script giving error... con = phn.toLong; contactdetails = zoho.crm.searchRecords("Contacts",("Phone:equals":con*)"); info contactdetails; The correct script is... con = phn.toLong(); contactdetails = ...