We recently upgraded to Forms 11 (11.0.2201.20436). While investigating a customer complaint, I discovered that Forms 11 seems to be FAR too enthusiastic about trying to run lookups. In this particular Form, I have a lookup that runs based on the values of the three indicated fields:
As soon as I select an inmate to fill the first field, the lookup runs. Rather than getting a result based on a particular date and time, the hyperactive and eager-to-please lookup just returns values based on ANY date and time. This is not good! I can think of two ways to bypass this effect:
- Add an 'autofill' button, hide it via CSS or JS, then use JS to click the button when a time and date have actually been entered
- Switch from a standard lookup to a stored procedure.
While I'm confident those options would work, they shouldn't have to! I shouldn't have to replace every lookup with a stored procedure, or figure out for each Form how to use JS to click a specific autofill button at the appropriate time.
I'm really afraid of what these incomplete lookups might be doing with our many active Forms processes; how many processes are messed up or inaccurate that just haven't come to light yet?
Has anyone else seen this issue? Any other ideas on how I might resolve this?
One other little nugget / question - this Form has a total of four lookups based on the 'visit time' field. I put in an event listener to show me when a lookup event has been run with that particular field as the triggerId. I found out that every time ANY lookup occurs (at starting time, or any time any field associated with a lookup is changed), the visit time event listener triggers two-four times. Is that normal? Doesn't seem like it should be....