Displaying 1 result from an estimated 1 matches for "pfieldnam".
Did you mean:
pfieldname
2006 Feb 07
2
Objects and Properties
...ties being added to some built in objects like Array.
The product has a form validator that''s used all over that adds fields
(and some of the fields properties) that need to be checked to an
array called fields (edited for simplicity):
/* ***************** */
fields = new Array();
fields[pFieldName] = new Field(pFieldName, name);
/* ***************** */
Later on when it''s validating this field it does something like this:
/* ***************** */
for(var currentField in fields) {
if(!fields[currentField].validate()) {
isValid = false;
}
}
/* ***************** */...