TEXTBOX Type and Search (RDMLX)
Posted: Tue May 31, 2016 7:26 pm
Hi all.
I'm trying to create an offline form where I create an order line (product code, quantity, etc). In this particular situation I would ideally like the user to be able to enter some text in the product field and have the form immediately present a list of matching products (from a local SQLLite table) based on what they have entered, without having to lose focus on the field or press a search button. If the user continues to type text, the search results are refined. Eventually the user would select one of the results.
The problem I have is that the ONVALUECHANGE event for a TEXTBOX only seems to fire when I lose focus on the textbox - I was hoping it would fire as the text was changed.
Has anybody done anything like this in offline LR? Maybe there's an alternative approach (or undocumented feature) which will give me what I want?
Cheers for now.
Marcus.
I'm trying to create an offline form where I create an order line (product code, quantity, etc). In this particular situation I would ideally like the user to be able to enter some text in the product field and have the form immediately present a list of matching products (from a local SQLLite table) based on what they have entered, without having to lose focus on the field or press a search button. If the user continues to type text, the search results are refined. Eventually the user would select one of the results.
The problem I have is that the ONVALUECHANGE event for a TEXTBOX only seems to fire when I lose focus on the textbox - I was hoping it would fire as the text was changed.
Has anybody done anything like this in offline LR? Maybe there's an alternative approach (or undocumented feature) which will give me what I want?
Cheers for now.
Marcus.