Search code examples
htmlwindows-mobileformswedge

On Windows Phone - Data Forms (HTML) automatically passed by barcode scanner


I previously asked this question here:

Stop user from using enter to pass a form

and I had managed to get the enter key to not pass a form but that wasn't enough to fix the issue. I'm on a Window's phone and using Datawedge to pass scanned barcodes to a form. Once I scan an SKU though it is automatically passed through and entered. This is annoying as I have several other areas users will need to type in.

If anyone has any ideas I would really appreciate it. In the case that the error is form side here is the code for that:

<div class="search">        

  <form action="search.php" method="post">

    Search by SKU:<br />

      <input  id="entry" type="text" name="sku" />

        <br />

    Search by Description:<br />

      <input id="entry" type="text" name="desc" />

        <br />

      <input id="sub" type="submit" />

  </form>

This is where it is happening.

Hope you can help.


Solution

  • I'm only making a guess here, since i haven't got a test device at hand running WinMo, but since you didn't explicitly mention it, did you disable the AutoEnter function of DataWedge?

    [HKEY_CURRENT_USER\Software\Symbol\DataWedge\Barcode]

    AutoEnter

    dword

    Sets whether or not an ENTER key (VK_RETURN virtual key code) should be sent after the barcode (and after any selected suffix) 0 = do not send ENTER key 1 = send ENTER key