Understand on user input actions | Zoho Creator Help

Understand on user input actions

The script actions that you define in the on user input event will be executed whenever the field value is added or modified by the user. It is used to improve the usability of a form by validating field data even before it is submitted or display other field values based on the value specified in this field.


Let's assume you have an Order Management application that is used to run your business. There is an in-house Bulk Order form that facilitates bulk orders. This form includes product details and the required quantity for each product. The application has another form for Stock Details which includes product related information and the quantity available (In Stock field) with regard to each product. When the user gives a value in the Quantity field, you need to run a workflow to check the records in Stock Details form to confirm if the value entered in the Quantity field is less than or equal to the value in the In Stock field in the Stock Details form. You can write a script that if the value in Quantity field of the Bulk Order form is greater than the value of the In Stock field in the Stock Details form, an error message needs to be displayed stating that only n number of items of this product is available.

For instance, the user enters the value of Quantity field as 100 in the Bulk Order form. At that point the workflow is run to check the records in Stock Details form. The value in the In Stock field is 60. An error message is displayed stating, "There are only 60 items available. Please enter a value lesser than or equal to the number of items available in stock." This prompts the user to reconsider the requirement without have to submit the form.

 

Related Topics


        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  Create. Review. Publish.

                                                  Write, edit, collaborate on, and publish documents to different content management platforms.

                                                  Get Started Now




                                                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                        Manage your brands on social media


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            Zoho Sheet Resources

                                                                             

                                                                                Zoho Forms Resources


                                                                                  Secure your business
                                                                                  communication with Zoho Mail


                                                                                  Mail on the move with
                                                                                  Zoho Mail mobile application

                                                                                    Stay on top of your schedule
                                                                                    at all times


                                                                                    Carry your calendar with you
                                                                                    Anytime, anywhere




                                                                                          Zoho Sign Resources

                                                                                            Sign, Paperless!

                                                                                            Sign and send business documents on the go!

                                                                                            Get Started Now




                                                                                                    Zoho TeamInbox Resources





                                                                                                              Zoho DataPrep Demo

                                                                                                              Get a personalized demo or POC

                                                                                                              REGISTER NOW


                                                                                                                Design. Discuss. Deliver.

                                                                                                                Create visually engaging stories with Zoho Show.

                                                                                                                Get Started Now








                                                                                                                                    • Related Articles

                                                                                                                                    • Configure deluge script on user input in form workflows

                                                                                                                                      You must create a workflow before configuring the deluge script on user input event. Refer this section to learn how to create a form workflow. To configure a deluge script on user input: While creating a new workflow choose the User input of a field ...
                                                                                                                                    • Understand Variables

                                                                                                                                      What Does This Page Cover? Learn about variables that hold values that can be referred to and modified throughout your Creator application. Availability Variables are available for all plans of Creator. Only super admin, admins, and developers can ...
                                                                                                                                    • Understand stateless form actions

                                                                                                                                      Stateless form or Duplicate of an existing form is a form without records saved in Zoho Creator. So the actions applicable to this kind of form is influenced by the form events that are catered to it. The following are the actions that can be created ...
                                                                                                                                    • Understand functions

                                                                                                                                      In a nutshell Functions in Zoho Creator are essential building blocks for implementing custom business logic using Deluge, Java, or Node.js. They act as modular units that can be invoked and reused across various components within an application or ...
                                                                                                                                    • Form workflow actions

                                                                                                                                      What does this page cover Learn about the various actions available in form workflows and how to configure them effectively. Before proceeding, ensure you have a comprehensive understanding of form workflows and how to create them. Availability ...
                                                                                                                                      Wherever you are is as good as
                                                                                                                                      your workplace

                                                                                                                                        Resources

                                                                                                                                        Videos

                                                                                                                                        Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                        eBooks

                                                                                                                                        Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                        Webinars

                                                                                                                                        Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                        CRM Tips

                                                                                                                                        Make the most of Zoho CRM with these useful tips.



                                                                                                                                          Zoho Show Resources