I have a Company Type dropdown, when I make change, it use rule to lookup to the company types list to show/hide some field. The rule only apply for first time when it load the page. At runtime, if I made change on the Company Type, the rule won't apply. Any idea?
Solved! Go to Solution.
have you put in your rule the reference to the named control associated to your dropdown or to the item property? Item property keeps the value on form load while named control update the stored value based on the current value in the form..
because the dropdown is a lookup column, you need to wrap your drpCompanyType reference with the parseLookup function (it should become parseLookup(drpCompanyType, true) ), that's because the Named Control of a lookup field doesn't store only the text value but also the ID, so it wasn't able to resolve all your lookup function..