Select/Deselect in succession does not work!

Select/Deselect in succession does not work!

Hey guys,

I managed to find a bug. It has to be a bug. I did loads of testing and can see no other reason this does not work.

With my app I am trying to select a corresponding checkbox in another field when a user chooses its equal in another field which is a dropdown.

Here is my code that I need to use:
  • if(Financing_Type == "Third Party Financing")
  • {
  • c_22_addendums.deselect("Loan Assumption Addendum");
  • c_22_addendums.deselect("Seller Financing Addendum");
  • c_22_addendums.select("Third Party Financing Addendum");
  • }
  • else if(Financing_Type == "Loan Assumption Addendum")
  • {
  • c_22_addendums.deselect("Third Party Financing Addendum");
  • c_22_addendums.deselect("Seller Financing Addendum");
  • c_22_addendums.select("Loan Assumption Addendum");
  • }
  • else if(Financing_Type == "Seller Financing Addendum")
  • {
  • c_22_addendums.deselect("Third Party Financing Addendum");
  • c_22_addendums.deselect("Loan Assumption Addendum");
  • c_22_addendums.select("Seller Financing Addendum");
  • }

  • You can see what I'm trying to do here. However, this does NOT work! It only does whatever operation comes first. 

    So if I use: 

    1. c_22_addendums.deselect("Loan Assumption Addendum");
    2. c_22_addendums.deselect("Seller Financing Addendum");
    3. c_22_addendums.select("Third Party Financing Addendum");
    It will only deselect the checkboxes but will NOT select the last one.

    On the reverse, if I use this:
    1. c_22_addendums.select("Third Party Financing Addendum");
    2. c_22_addendums.deselect("Loan Assumption Addendum");
    3. c_22_addendums.deselect("Seller Financing Addendum");
    It will ONLY select the checkbox but will NOT deselect the others.

    I cannot figure out how to get around this stupid bug unless building multiple workflows which is stupid.

    Buddy




                              Zoho Desk Resources

                              • Desk Community Learning Series


                              • Digest


                              • Functions


                              • Meetups


                              • Kbase


                              • Resources


                              • Glossary


                              • Desk Marketplace


                              • MVP Corner


                              • Word of the Day



                                  Zoho Marketing Automation


                                          Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl 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




                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now