Client Script Support in Quick Create

Client Script Support in Quick Create




Welcome to another post in the Kaizen Series!

In this post, we explore how Client Script support in the Quick Create form can be used to automate data entry. This solution addresses a common business scenario where Zylker Furniture sells sofas, wardrobes, and dining tables through online channels. After delivery, the sales representative uses Quick Create to schedule the installation. In this process, the sales representative only needs to select the preferred date and time, while all other details are automatically populated. This ensures data accuracy, reduces manual entry, and saves valuable time for the sales representatives.

The Client Script Support for Quick Create is one of the most upvoted feature requests in Zoho Community.

In this Kaizen post,



  1.  What is the Quick Create Form?
  2. Supported Client Script Events
  3. Use Case
  4. Solution
  5. Summary
  6. Related Links




1. What is the Quick Create Form?

The Quick Create form is a lightweight popup in Zoho CRM that allows users to create a new record on the fly, without navigating away from the page they are currently on. With Client Script support, Quick Create can be further enhanced to automate actions such as auto populating fields, validating data, and executing logic based on the record context. This enables a faster, more efficient, and context aware record creation experience.

2. Supported Client Script Events

The following are the events supported by Client Script for Quick Create Form.


Refer to the Client Script Events documentation for more details about the events.

 

3. Use Case

Zylker Furniture sells sofas, wardrobes, and dining tables through online channels. After delivery, the sales representative uses Quick Create to schedule the installation. In this process, the sales representative needs to select only the preferred date and time, while all other details are auto-filled ensuring data is auto populated accurately, reducing manual entry during installation scheduling and save time of sales representatives.

 

4. Solution

Here, the requirement is to trigger the script as soon as the Quick Create pop up loads, so, create a Client Script with onLoad Quick Create event. 

  1. Go to Setup > Developer Space > Client Script. Click +New Script.

  2. Specify the details to create a script and click Next.
  1. Enter the following script and click Save.
  1. / --------------------------------------------------
  2. // Fetch source fields from root context
  3. // --------------------------------------------------
  4. var sourceCustomerId     = $Client.rootContext.getField('Name');
  5. var sourceCustomerName   = $Client.rootContext.getField('Customer_Name');
  6. var sourceAddress        = $Client.rootContext.getField('Address');
  7. var sourceDeviceType     = $Client.rootContext.getField('Product');

  8. // --------------------------------------------------
  9. // Fetch destination fields from the current page
  10. // --------------------------------------------------
  11. var targetCustomerId     = ZDK.Page.getField('Customer_ID');
  12. var targetName           = ZDK.Page.getField('Name');
  13. var targetInstallAddress = ZDK.Page.getField('Installation_Address');
  14. var targetDeviceType     = ZDK.Page.getField('Furniture_Type');

  15. // --------------------------------------------------
  16. // Assign values with safety checks
  17. // --------------------------------------------------
  18. if (sourceCustomerId && targetCustomerId) {
  19.     targetCustomerId.setValue(sourceCustomerId.getValue());
  20. }

  21. if (sourceCustomerName && targetName) {
  22.     targetName.setValue(sourceCustomerName.getValue());
  23. }

  24. if (sourceAddress && targetInstallAddress) {
  25.     targetInstallAddress.setValue(sourceAddress.getValue());
  26. }

  27. if (sourceDeviceType && targetDeviceType) {
  28.     targetDeviceType.setValue(sourceDeviceType.getValue());
  29. }
  • In this code, getField() is used to fetch the Name, Customer_Name, Address, and Product fields from the current record context.

  • ZDK.Page.getField() is used to fetch the Customer_ID, Name, Installation_Address, and Furniture_Type fields from the Quick Create form.

  • Conditional checks are used to validate that both the source and corresponding target fields exist before assigning values.

  • getValue() is used to retrieve values from the source fields.



      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          • Sticky Posts

          • Kaizen #198: Using Client Script for Custom Validation in Blueprint

            Nearing 200th Kaizen Post – 1 More to the Big Two-Oh-Oh! Do you have any questions, suggestions, or topics you would like us to cover in future posts? Your insights and suggestions help us shape future content and make this series better for everyone.
          • Kaizen #226: Using ZRC in Client Script

            Hello everyone! Welcome to another week of Kaizen. In today's post, lets see what is ZRC (Zoho Request Client) and how we can use ZRC methods in Client Script to get inputs from a Salesperson and update the Lead status with a single button click. In this
          • Kaizen #222 - Client Script Support for Notes Related List

            Hello everyone! Welcome to another week of Kaizen. The final Kaizen post of the year 2025 is here! With the new Client Script support for the Notes Related List, you can validate, enrich, and manage notes across modules. In this post, we’ll explore how
          • Kaizen #217 - Actions APIs : Tasks

            Welcome to another week of Kaizen! In last week's post we discussed Email Notifications APIs which act as the link between your Workflow automations and you. We have discussed how Zylker Cloud Services uses Email Notifications API in their custom dashboard.
          • Kaizen #216 - Actions APIs : Email Notifications

            Welcome to another week of Kaizen! For the last three weeks, we have been discussing Zylker's workflows. We successfully updated a dormant workflow, built a new one from the ground up and more. But our work is not finished—these automated processes are

          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 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 コンテンツ



                                ご検討中の方

                                  • Recent Topics

                                  • Cliq iOS can't see shared screen

                                    Hello, I had this morning a video call with a colleague. She is using Cliq Desktop MacOS and wanted to share her screen with me. I'm on iPad. I noticed, while she shared her screen, I could only see her video, but not the shared screen... Does Cliq iOS is able to display shared screen, or is it somewhere else to be found ? Regards
                                  • Estimate Module - Contact Field.

                                    Hello Latha and Team, Is it possible to make the Contact field optional in the Estimate module? Best regards, Chethiya.
                                  • I am not able to check in and checkout in zoho people even location access allowed

                                    This issue i am facing in mackbook air m1, I allowed location in chrome browser and i also tried in safari but getting similar issue. Please have a look ASAP.
                                  • Is multiple invoice e-mailing possible?

                                    I wonder if following is possible: When you are in the invoice view, assume you have five invoices to five different customers that are pending (you have just created them, but not sent them away yet by email.) To the left of every invoice in the overview
                                  • How to keep track of bags, cans, drums of inventory?

                                    We buy and sell products that are packaged in bags 🛍️, cans🥫, drums🛢️, etc. with batch numbers. When we get a shipment of one of the products, how do we track we received (say) 10 cans each of 5L of a product and maybe we received 10 cans of another
                                  • Multiple packages in one shipment

                                    Guys we have been asking for this for years. we want to be able to ship multiple packages for one customer in the same shipment, so as to avoid entering shipping info repeatedly, and avoid customer getting multiple tracking emails. When does this arise?
                                  • I can't add a new customer in Zoho invoice? Anyone had this issue before?

                                    Ive been using Zoho invoice for over 6 years. Today I wanted to add a new customer to send an invoice to but it doesn't save when I try to access it from the pulldown menu when you go to send a new invoice.
                                  • set up an opportunity progress bar in canva

                                    Hi, set up an opportunity progress bar in canva I need help to set to reproduce the progress bar or equivalent of the opportunity steps in canva as in standard view (see capture ) Thank you in advance Amadou
                                  • sending email with another account

                                    Hello there, i write there for an our costumer request. They want to send email from CRM with a different email (confirmed and added to zoho profile). For example they use account@zilium.com but with this account they want to send (not only with email
                                  • Which Tool Is Best to Import MSG Files to HostGator?

                                    The best tool to import MSG files to HostGator is the MacGater Mac MSG Converter. This professional utility is specifically designed to simplify the migration of Outlook MSG files into web-based email services, including HostGator. It supports direct
                                  • Recurring event sync via Microsoft 365 Meetings

                                    I believe syncing Recurring through the Microsoft 365 Meetings integration is already in the works but I couldn't find a reference in the community to track the progress of this work.
                                  • What's New in Zoho Invoice | April - June 2025

                                    Hello everyone! We're excited to share the latest feature updates and enhancements we've made to Zoho Invoice from April to June 2025. In this, you will learn more about the following features: New Integrations via Zoho Marketplace Add Images to Email
                                  • Client Script | Update - Client Script Support For Custom Buttons

                                    Hello everyone! We are excited to announce one of the most requested features - Client Script support for Custom Buttons. This enhancement lets you run custom logic on button actions, giving you greater flexibility and control over your user interactions.
                                  • import customers

                                    Is there a way to bulk import customers? I'm moving from Acuity and would rather not have to enter everyone manually.
                                  • What's New in Zoho POS - February 2026

                                    Hello everyone, Welcome to Zoho POS’s monthly updates, where we share our latest feature updates, enhancements, events, and more. Let’s take a look at how February went. Purchase and sell items on different units We have introduced a unit conversion functionality
                                  • Batch Tracking custom function

                                    Hi fellow zoho users, We have our ecommerce site setup to shopify. I have some products I want to add batch tracking too, my only issue is that it breaks our shopify workflow (create sales order, invoice, payment, package) because it requires us to manually
                                  • Comments aren't visible in shared spreadsheet

                                    I would like to send a spreadsheet to people who can use it to help solve a problem as a one off use unique to them. They will have to enter data in the sheet. I have comments attached to some of the cells to explain the purpose of the data being collected.
                                  • Kaizen #236 - Using Client Script Support in Quick Create to Automate Manual Data Entry

                                    Welcome to another post in the Kaizen Series! In this post, we explore how Client Script support in the Quick Create form can be used to automate data entry. This solution addresses a common business scenario where Zylker Furniture sells sofas, wardrobes,
                                  • Is it possible to make tags "required"

                                    We would like to be able to make the tag field a requirement for agents before they can close a ticket. This would help with monthly reporting, where a lot of tickets end up with no tag, causing manual work to go back and add the correct tag for each
                                  • Serial Numbers.

                                    I generated serial numbers for items and there is no way to generate more serial numbers that the number of items being "sold" or created. This is annoying as how does one know what serial number they left off with when they go to receive or sell this
                                  • Ensure every user starts right with Welcome Email Templates

                                    Adding a new user to your organization extends beyond account creation–it requires delivering the right information at the right time to ensure a productive start. New users typically require key details upon joining, such as login instructions, security
                                  • How to change the format for phone numbers?

                                    Mobile phone numbers are currently formatted (###) ###-####.  How can I change this to a more appropriate forms for Australia being either #### ### ### or (#)### ### ###?
                                  • All new Address Field in Zoho CRM: maintain structured and accurate address inputs

                                    Availability Update: 29 September 2025: It's currently available for all new sign-ups and for existing Zoho CRM orgs which are in the Professional edition exclusively for IN DC users. 2 March 2026: Available to users in all DCs except US and EU DC. 24
                                  • Adding Images to a Quote in Zoho CRM

                                    We are currently preparing to use Quotes in Zoho CRM and we are building out our Quote templates.  We came across an issue of not being to add Images of the products to the Quote - specifically in the body of the Quote templates.   This is a problem,
                                  • Item with name in different languate

                                    Hello, is there a way to have an item with its name in different languages? For example: I sell an item in different markets and I'd like to have a Proposal and the Invoice with the Item Name in a specific language. Rino Bertolotto Zoho Specialist, STESA srl
                                  • IMPORTANT: It doens´t show full article name on search - Should add line break

                                    When we search for articles, it doesn´t show the full name. There should be a line break so the user can see the full article name, otherwise the user can´t know if that´s the article he/she is looking for. This is very important, otherwise the user has
                                  • IMPORTANT: It doesn´t search for letters with portuguese characters.

                                    Some of my articles have for example the word "vídeo". But if I search for "vídeo" it doesn´t find them. If I search for "video" it does find them. Idealy, it should find the articles either way. But if I have to choose, it would be better to find the
                                  • How to hide Activity Side Panel

                                    How do you hide the activity side panel? Clicking on the link and reviewing the activity does not remove it and it does not seem to timeout. I have any activity that have been listed there since January. Thank you.
                                  • Need a Universal Search Option in Zohobooks

                                    Hello Zoho, Need a Universal Search Option in Zohobooks to search across all transactions in our books of accounts. Please do the needful Thanks
                                  • This version of app doesn't support this notecard type Error

                                    So this problem is happening for any notes created within the last week, as well as any note recently edited on Android. I can open them on my phone fine, but they don't open on the website version. They DO work on the desktop app version. It's just web
                                  • Ordering of Teams

                                    Hi there, Currently, we cannot order Teams in Zoho Desk. Teams are ordered as they were created. It would be really helpful if we could customise the order of Teams. For example: We have the following Teams: Shipping Customer Service Sales Compliance
                                  • Zoho Mail Android app update: UI revamp

                                    Hello everyone! We are excited to share that the first phase of the Zoho Mail Android UI revamp is now live. In this update, we have redesigned navigation bar at the bottom to quickly access the Email, Calendar, Contacts, and Settings modules. Also, the
                                  • Add Support for Authenticator App MFA in Zoho Desk Help Center

                                    Hello Zoho Desk Team, We hope you are doing well. We would like to request an enhancement related to security for the Zoho Desk Help Center (customer portal). Currently, the Help Center supports MFA for portal users via SAML, JWT, SMS authentication,
                                  • PDF's Give Unsupported Type Error Message

                                    Many of the pdf files I add to Notebook work fine but in some cases when I try to open them on the Android App I get a message saying "Unsupported Type. Psst! You are using an older version of the app which does not support this note format. Please update
                                  • Resubscribe with Zoho Campaigns

                                    Hi, I am new to Zoho Campaigns and sent a campaign to a contact list with only my email address. I wanted to see what the footer links did, so clicked unsubscribe and now can't include my email address into any more campaigns. I don't have a sign up form on my website to resubscribe and can't find how to resubscribe anywhere else. Can you help?
                                  • Add a way to connect Log360 Cloud logs with Zoho analytics

                                    Hi, Several month ago Log360 Cloud was added to zoho one - and this is great. But as far as I see there is no prebuilt way to connect Zoho analytics to the logs we have in Log360 Cloud. Please add a prebuilt connection like we have for so many other zoho
                                  • Dynamic Multi-Staff Selection for Ad-Hoc Bookings

                                    Summary Allow customers or internal schedulers to select specific staff members at the time of booking, with Zoho Bookings automatically surfacing only the time slots where all selected members are simultaneously available. Current Behaviour Zoho Bookings
                                  • Share Edit while in Workflow

                                    There are times that while a writer document is in the middle of a workflow the user that's responsible for that stage of the workflow needs to bring in other people to work on the document. Currently there is no way for the user to be able to allow other's
                                  • How can I use the API to add a drop-shipping address to a sales order for one-time use?

                                    I need to be able to add a drop-shipping address for one-time use to a sales order via the API. Adding every such address to the contact (customer), then feeding the shippingaddress_id into the sales order, is not an acceptable approach; we have some
                                  • Need to set workflow or journey wait time (time delay) in minutes, not hours

                                    Minimum wait time for both Campaigns workflows and Marketing Automation journeys is one hour. I need one or the other to be set to several minutes (fraction of the hour). I tried to solve this by entering a fraction but the wait time data type is an integer
                                  • Next Page