Input Validation using NetRexx

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Input Validation using NetRexx

Ismael Ifurung
I have a form in an HTML page with some "Input" tags (input text box).  
What I'd like to do is do some validation of the user's input using some
NetRexx (Java) applet.  

Can somebody give me some hints on how this can be done.  Pointing me to
an example would really be appreciated.

Thanks.

Ismael

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: Input Validation using NetRexx

Martin Lafaix

> From: "Ismael Ifurung" <[hidden email]>
>
> I have a form in an HTML page with some "Input" tags (input text box).
> What I'd like to do is do some validation of the user's input using some
> NetRexx (Java) applet.
>
> Can somebody give me some hints on how this can be done.  Pointing me to
> an example would really be appreciated.

It's probably easier to use javascript or a script on the server,
but if you want to use an applet you can try the following:

- create an applet containing the various input areas and a
  "validate" button ;
- when the user validates her/his input by selecting this button,
  send the data to the server.  Depending on the behaviour you
  want, you can send it as an email or to a servlet running on the
  server via a socket (or by any other method that suits your
  needs).

As stated above, using an applet is more complicated , but then
it's much more versatile too...

[You can do the user's input validation either "live" or only when
 he/she selects the "validate" button.  You can find code samples
 for the client/server communication in the NetRexx's FAC
 repository.  If you want to take the email way and don't know how
 to do this, email me and I'll send you some code doing this.]


Martin
--
[hidden email]
Team OS/2
http://wwwi3s.unice.fr/~lafaix/os2.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>