Hello,
I am new to oracle APEX and am trying to complete an application but have one small issue. I am using a barcode gun to check in servers and other hardware, and once it is scanned it sends an "enter" to add the next row in my Master-Detail form. The code i am using for this is :
onkeydown="javascript:if(event.keyCode==13){event.keyCode=9;return event.keyCode}"
This works fine, it takes my enter from the barcode and tabs it to the next line. However at a different part of the form I need to make it convert my enter to a tab, and then back to an enter. Essentially I need it so that I scan the barcode, it then submits an enter, which is converted to a tab, and then I want it to then use an enter key. I cannot get this to work. My java skills are lacking, and this is what I have come up with:
onkeydown="javascript:if(event.keyCode==13){event.keyCode=9;return event.keyCode;event.keyCode=13;return event.keyCode}"
This is just not working, any ideas on what I can do?
Thanks
Aaron