You should be able to do this with JavaScript if I am not mistaken.

Checkout this link:
http://www.webdevelopersjournal.com/articles/jsevents3/jsevents3.html 

Look at this code specifically. Just create a file called onkeydown.html and
use notepad to paste the below into it.
<HTML>
<HEAD>
  <TITLE>keyCode</TITLE>
</HEAD>
<BODY onkeydown="displaykey();">
  <INPUT TYPE="text" name="text1">
</BODY>
<SCRIPT>
  function displaykey() {
    text1.value=event.keyCode+' : '+String.fromCharCode(event.keyCode);
  }
</SCRIPT>
</HTML>

Then once you have trapped the key you can determine if there is an action
that needs to happen.

HTH,
Aaron Bartell

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Dave Reiher/prairiefarms
Sent: Wednesday, September 28, 2005 12:05 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Fw: Keyboard mapping with IBM's webfacing tool

I would not be surprised. I put a call in to IBM about iSeries Access for
the Web about the same thing. I was told that iSeries Access for Web is not
a "true" 5250 emulator so there is not a way to map the keyboard. I am
working on a webfaced project right now and I can't see a way to do it. 
<Enter> is enter and the command keys work the same as 5250, but I don't
belive you can map a key to field + or any other key for that matter. If you
can I would love to know how.


    Dave Reiher
    System Analyst
    Prairie Farms Dairy - Corporate
    dreiher@xxxxxxxxxxxxxxxx



pnelson@xxxxxxxxxx
Sent by: web400-bounces@xxxxxxxxxxxx
09/28/2005 11:53 AM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
web400@xxxxxxxxxxxx
cc

Subject
[WEB400] Fw: Keyboard mapping with IBM's webfacing tool






   Cross post from Midrange-L.
   -- 

   Paul&nbsp= ;Nelson
   Arbor Solutions, Inc.
   708-670-6978  Cell<= BR>pnelson@xxxxxxxxxx   -----Forwarded by Paul 
Nelson/= arbsol.com/US on 09/28/2005 12:54PM -----

     To: midrange-l@xxxxxxxxxxxx
     From: P= aul Nelson/arbsol.com/US
     Date: 09/28/2005 12:02PM
     Subject: Keyboard m= apping with IBM's webfacing tool

     I am sitting her= e at a client site with a consultant from a 
software
     company that used IBM'= s webfacing tool to put a GUI front end on 
their
     software.
     <= P>The consultant swears that there is no way to make the= + (Plus)
     key on the right side of the numeric keypad map to be a field exi= t
     key.
     Can this possibly be true? The= enter key maps as an enter key. This
     issue is really slowing down the peop= le entering timecards, 
invoices,
     etc.
     Thanks
     --
     Paul Nelson
     Arbor Solutions, Inc.     708-670-6978  Cell
     <= TT>pnelson@xxxxxxxxxx

   </DIV= >
   -- 
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.