Form Submit Handler

Form Submit Handler

Overview

The form submit handler is triggered when the user clicks the submit button in the form. This handler is used to validate the input data entered by the user and perform the custom menu's intended action.

Implementation of Form Submit Handler

The information will be passed through the following attributes to the form submit handler:
 
form
Input collected from the user.
user
Details of the user executing the menu.
entity
Details of the entity in which the menu is being used.
network
Details of the network  in which the menu is being used.
 

Rendering a response

When a custom action is executed, the response rendered can be made visible to the menu executor. You can also show an error message using this handler.
 
The response should be in the format below:
 
Attribute
Property
Description
result
options: success / failure
Default option: success
The status of the function execution.
message
Data type: String
Maximum limit: 250 characters
A message informing the user about the status of the menu execution.

Sample code for displaying a success message: 
  1. {

    "result" : "success",

    "message" : "Message shared successfully" }


Sample code for displaying a failure message:
  1. {

    "result" : "failure",

    "message" : "Sorry unable to share the post with with Mark" }


If you have any questions related to Custom Menu, please write to us at support@zohoconnect.com. We'll be happy to help. 

    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









                                            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

                                                                                                              • Form Change Handler

                                                                                                                Overview The form change handler can be used when the fields in the form dialog box should dynamically change values based on the user input. It can be also used to validate the user input and display an error message in case the input doesn't match ...
                                                                                                              • Menu Click Handler

                                                                                                                Overview The menu click handler will be triggered whenever the user selects the custom menu option from the dropdown. It can be used to perform a simple one-step action such as sharing a post link to a particular user on Cliq, or  open a form to ...
                                                                                                              • Field Lookup Handler

                                                                                                                Overview The field lookup handler can be used to fetch values for field options from external services in real-time. The two main instances are as follows: The field may require updated options from external services in real-time. In such cases, the ...
                                                                                                              • Custom Menu - an overview

                                                                                                                Feature Availability Overview Custom Menu in Zoho Connect lets you add customized menus to entities such as status, tasks, events, in addition to the default menus—Follow, Print, Bookmark, and Copy post URL that are already available. They can be ...
                                                                                                              • Assigning copies of a task in Zoho Connect

                                                                                                                Feature Availability Overview You can use the Assign Copies option in Zoho Connect to create one or more copies of a task and directly assign them to individual users. This helps when you need several people to perform the same task individually, ...
                                                                                                                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