About the only way I've been able to do this is write some javascript
that watches the textbox and handles validation on the client.

Randy

Philip Moschovas wrote:
>
> I was wondering if it is possible to do instant validation on a text box
> within a form instead of waiting until the person submits.  I am using a
> scanner to read a barcode string and I need to validate the string when it's
> in the textbox and immediately give focus to the next text box if the
> validation passes.  We are supposed to use JSP for this project and the only
> textbox event I could possibly see that would call a JSP script is onchange
> but that is only triggered if I manually change the focus from the first
> text box.  Any idea on how to proceed?
>
> Thanks
> Phil
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Randy Murrish                              mailto:[EMAIL PROTECTED]
Spider Guy, ChannelPoint, Inc.              http://www.channelpoint.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to