Romeo Casimina 3 Posted June 21, 2019 Posted June 21, 2019 Hi Gurus, Just wondering if you have some resolution or ideas on the issue that I encountering. I have two controls (two drop down) where values of the 2nd drop down is based on the selected value of 1st drop down. Thus I have created a rule to populate data for the 2nd drop down upon update of the first one. My issue here is that during form load, the update event of the first drop down is being triggered even though no change has happened. This might be happening when value is being initialized by the form. Question is there a way to stop triggering the event at form load / startup so event will only fire if there is really a change.
Adrian Price Posted June 24, 2019 Posted June 24, 2019 miotot, you are correct about the update event firing when the control value is initialised during form load. This is by design, since it is by definition an update to the control value. You could add a boolean form data field to track the initialisation state and use its value programmatically to suppress the unwanted trigger caused by the initial control update event. You could add a form open rule & computation action to set the data field value to true; just make sure that this is the last action triggered by form open.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now