This topic is locked
[SOLVED]

 How to trigger lookup field with ajax popup manually

1/3/2017 6:23:31 PM
PHPRunner General questions
W
wehaye author

I created a "lookup field" with "edit box with AJAX popup". When I type using the physical keyboard, appeared lookup value. But when I typed using virtual keyboard, lookup value does not appear. If i typed with on screen keyboard from windows, lookup value can appear.
I'm using "virtual keyboard mottie" obtained from the link https://mottie.github.io/Keyboard/
Here's a screenshot of it.
1. Typed with physical keyboard:


2. Typed with virtual keyboard:


How do I trigger lookup field with AJAX popup manually?
Here is my code in the javascript onload event.



$('#display_value_nama_file_1')

.keyboard({

layout : 'qwerty',

usePreview: false,

autoAccept : true,

position: {

of: $(window),

my: 'center bottom',

at: 'center bottom',

at2: 'center bottom'

}

});


Thanks for your help.

lefty 1/7/2017



I created a "lookup field" with "edit box with AJAX popup". When I type using the physical keyboard, appeared lookup value. But when I typed using virtual keyboard, lookup value does not appear. If i typed with on screen keyboard from windows, lookup value can appear.
I'm using "virtual keyboard mottie" obtained from the link https://mottie.github.io/Keyboard/
Here's a screenshot of it.
1. Typed with physical keyboard:


2. Typed with virtual keyboard:


How do I trigger lookup field with AJAX popup manually?
Here is my code in the javascript onload event.



$('#display_value_nama_file_1')

.keyboard({

layout : 'qwerty',

usePreview: false,

autoAccept : true,

position: {

of: $(window),

my: 'center bottom',

at: 'center bottom',

at2: 'center bottom'

}

});


Thanks for your help.


Is this virtual keyboard from the marketplace ? I would contact support directly if it is. or go to plugin support area. Depends on the virtual keyboard used ,If it is using jquery it could be an outdated jquery issue in keyboard code deprecated.

W
wehaye author 1/7/2017

Finally, I use the "autocomplete function" from the outside, instead of PHPRunner.
If anyone wants to learn it, go to the following link for reference.

http://jqueryui.com/autocomplete/#custom-data

and slight modifications to the data source search, receipts php + json_encode to conduct a search filter dynamically.
Thanks.