This topic is locked

How To Trigger Autofill Field Programmatically (By javascript, Not by physic keyboard)

7/28/2017 4:00:24 AM
PHPRunner General questions
W
wehaye author

PHPRunner 9.7 build 28765 x64
When pressing the keyboard keys on "edit box with AJAX popup", can trigger Autofill other field, also trigger autosuggest.


However when I provide a value in the field using javascript, can't trigger autofill other field.


Is there any way that i can trigger autofill and autosuggest using javascript?

Or is there a javascript function created by PHPRunner that I can activate?
I really appreciate and thank you for your answer.

W
wehaye author 7/28/2017



Perhaps this thread can help:

http://asprunner.com/forums/topic/23842-barcode-scanning-into-fields-of-phprunner/


I have read all the posts on the url.

But still have not found a way to trigger autofill and autosuggest using javascript, like when typing using a physical keyboard.
Can you tell me more specifics about how to trigger autofill and autosuggest using javascript? Give me some lines of code for example.
Thank you very much for the information.

W
wehaye author 8/9/2017

Up.

No one has provided a solution yet. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=82862&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />

Admin 8/9/2017

The thread romaldus suggested does provide the solution. It explains how you can programatically trigger an event like mouse click or button press.
It may not be the solution you looking for but it does answer your question. Maybe in your code you need to place focus into the first field and click 'TAB' button programmatically.