Well, in that case, each validation criteria would need some
type of flag to indicate whether or not it was suitable for
inclusion into the Javascript code -  and/or the code generation
mechanism itself (quite possibly an XSLT, as suggested by
Johannes) could be setup to ignore the server side validation
type of checks.
 
(Incidentally, using an AJAX type approach would allow for
dynamic look-up of valid area codes...)

>>> [EMAIL PROTECTED] 2005/10/05 09:41:59 PM >>>
Derek Hohls wrote:
> So you were actually saying "you can 
> define a single set of validation criteria _could be_ used to generate 
> whatever validation is performed both client side and server side"

Well, server side validation might use data which are impractical
to download to the client. E.g. spell checking or checking for valid
area codes ought to require a service call.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 




-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to