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

    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      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 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

                                                                                                              • 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 ...
                                                                                                              • 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 Forms

                                                                                                                1. What Does This Page Cover? Learn about forms and how they are used to collect and store data in Creator. 2. Availability Forms built from scratch, by importing data, and from a template can be created in all plans of Creator, while integration ...
                                                                                                              • Understand Pages

                                                                                                                1. What Does This Page Cover? Learn about pages and how they are used to create user-friendly, customized dashboards for your applications. Via these dashboards, you can display dynamic elements and visually represent the data stored in Creator. 2. ...
                                                                                                              • Understand quick view actions in calendar report

                                                                                                                Actions enable you to edit or update information, add information, and remove information. There are system actions that are available in the application. There are also scripted actions items that cater to unique requirements specific to your ...
                                                                                                                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