ZOHO CRM Client Script Disable Save Button

ZOHO CRM Client Script Disable Save Button

Hello Team,

1. by the client script we can now Disable and enable the save & save and new button.
2. We can also apply the condition on button.
3. Show the message

Code:- 
  1. //..............Button Save...............
  2. var buttonObj1 = ZDK.Page.getButtons();
  3. buttonObj1api = buttonObj1[0].getApiName();
  4. var save_btn = ZDK.Page.getButton(buttonObj1api);
  5. //..............Button Save New...........
  6. var buttonObj2 = ZDK.Page.getButtons();
  7. buttonObj2 = buttonObj2[2].getApiName();
  8. var save_btn_new = ZDK.Page.getButton(buttonObj2);
  9. //.....................Disable Button..............................
  10. save_btn.disable();
  11. save_btn_new.disable();
  12. //...........enable Button..........
  13. save_btn.enable();
  14. save_btn_new.enable();

===============================================================================


Thanks & Regards
Piyush Goyal
Zoho Developer || 3+ years Experience
+91-8619164837

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




                              ご検討中の方