Please forgive me if I am a bit confused.
Here are the questions I am wondering:
1) Can you visibly see where the delimeters are being stripped away or is it
reveled when the function is called upon the submission and persuant
validation of the form?
2) When you say that the mask delimeters show up fine in the html... where
in the html? in the javascript or is there a form property that is holding
the mask or are you speaking in regards to the arrays that you create in the
mask,email,cdnrequired and cdnmask functions?
3) Is the folloiwing snippet of code and it's like counterparts generated on
the fly or do you manually include it on the page in which the javascript
validation is happening?
4) Can you show me what the generated html page looks like (not the jsp)?
function mask () {
this.aa = new Array("primaryContact.familyName", "<li>primary contact's
lastname should only contain alphabetical chars.</li>", new Function
("varName", "this.maxlength='50'; this.mask=/^[a-zA-Z\\. ]+$/;
this.minlength='2'; return this[varName];"));
this.ab = new Array("primaryContact.givenName", "<li>primary contact's
given name should only contain alphabetical chars.</li>", new Function
("varName", "this.mask=/^[a-zA-Z\\. ]+$/; return this[varName];"));
this.ac = new Array("primaryContact.address.streetName", "primary
contact's street should be of the format: number, streetname [optional room
number]", new Function ("varName", "this.maxlength='50';
this.mask=/^\\w*(,)*\\w+,[\\w ]+.*$/; this.minlength='5'; return
this[varName];"));
this.ad = new Array("primaryContact.address.city", "<li>primary
contact's city should only contain alphabetical chars.</li>", new Function
("varName", "this.mask=/^[a-zA-Z ]+$/; return this[varName];"));...
}
Is this correct? I have read your post several times and am not following
you logic real clear.
Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-----Original Message-----
From: Ginger Cheng [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: about the jsp
Hello,
the jsp only contains the center page of a big page, so you may not see
html:html from there.
ginger
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]