Page 1 of 1

Database-Driven Auto-COmplete

Posted: Wed Mar 12, 2014 5:24 am
by oumouna
Hello,
I have a text box and I want to do auto-completion using the property Database-Driven Auto-Complete
I put the database file, the choice options field and the choice values field.
Now I want when I choose an element, display the ID matching in the other field that I bind to the same value of the tex-box. I put pui.click() on the onchange property. But the ID doesn't appears when I select an element; and when I transform the text-box to select-box the ID appears.
Can someone help me?

Re: Database-Driven Auto-COmplete

Posted: Wed Mar 12, 2014 8:05 am
by Alex
For a textbox with auto-complete, I would try the onselect event instead of onchange.

Re: Database-Driven Auto-COmplete

Posted: Wed Mar 12, 2014 10:33 am
by oumouna
Thank you Alex, it works now