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:
- c_22_addendums.deselect("Loan Assumption Addendum");
- c_22_addendums.deselect("Seller Financing Addendum");
- 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:
- c_22_addendums.select("Third Party Financing Addendum");
- c_22_addendums.deselect("Loan Assumption Addendum");
- 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