[SOLVED] Field-Events/Edit - Barcodescanner : Edit Event fires only if manual edit |
5/12/2022 20:18:05 | |
| PHPRunner General questions | ||
|
C
ckranich authorDevClub member
Hi, I have a Field Event On a TextField which should be filled by barcode scanner. PROBLEM: Any Suggestions? Kind Greetings, How I tried to implement this
We have in this Form: Field Event (Click) of Checkbox: var checked; // local variable=> This simply prevents to set the checkbox directly, works OK Field Event (Edit) of "EAN_SCAN" var ctrlSOLL = ctrl.getPeer('MOTIV_CUSTOMER_EAN');function OnServer() $prettyprint = preg_replace('/\D/', '',$params["soll"]); // remove all that is not a numberfunction OnAfter() var ctrlCB = ctrl.getPeer('EANCode'); |
||
|
|
Sergey Kornilov admin 5/13/2022 |
|
Since we do not have access to your barcode scanner, is there a way to reproduce this issue in a regular web application? It will be easier to provide a meaningful feedback if there is something that we can see in a live app. |
|
|
C
|
ckranich authorDevClub member 5/14/2022 |
|
Dear Admin, Thank you for answer!
My last path to a work around:
Kind greetings, ckranich |
|
|
C
|
ckranich authorDevClub member 5/14/2022 |
|
SOLVED: How I did this:
Kind Greetings, ckranich |
|