Custom Buttons in Stateless forms - how to bypass form validation criteria

Custom Buttons in Stateless forms - how to bypass form validation criteria

Hi

I have a number of stateless forms that have mandatory fields which are required to perform an action (e.g. insert records into another form or send an email)

I want to create a custom cancel button with the only action:

  1. openUrl("#Script:dialog.close", "same window");
However, when I click this button, I'm prompted to fill in all of the required fields on the form.

Of course I want to be prompted to fill in the required fields if I'm clicking my 'Submit' or 'send mail' button, but - how can I bypass this validation in certain action scripts such as to close the form?

Thanks!

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


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




                              ご検討中の方