rem: if(node.tagName.toUpperCase()=="FORM") {   if(wFORMS.functionName_formValidation.toString()==wFORMS.functionName_formValidation) {  wFORMS.functionName_formValidation = eval(wFORMS.functionName_formValidation); } wFORMS.helpers.addEvent(node,'submit',wFORMS.functionName_formValidation);  } 
add: if(node.tagName=="FORM") {   if(wFORMS.functionName_formValidation.toString()==wFORMS.functionName_formValidation) {  wFORMS.functionName_formValidation = eval(wFORMS.functionName_formValidation); } wFORMS.helpers.addEvent(node,'submit',wFORMS.functionName_formValidation); }  if(wFORMS.preventSubmissionOnEnter) { if(node.tagName=='INPUT') { if(!node.type || node.type.toLowerCase()=='text' || node.type.toLowerCase()=='password' || node.type.toLowerCase()=='file') { wFORMS.helpers.addEvent(node,'keydown', function(e){ var evt = (e) ? e : window.event; if(evt.keyCode==13) { return wFORMS.helpers.preventEvent(evt); } }); } } }  
context: 			evaluate: function(node) {               if(node.tagName.toUpperCase()=="FORM") {				   // functionName_formValidation can be a reference to a function, or a string with the name of the function.				   // avoid using typeof				   if(wFORMS.functionName_formValidation.toString()==wFORMS.functionName_formValidation) {					   // this is a string, not a function					   wFORMS.functionName_formValidation = eval(wFORMS.functionName_formValidation);				   }                   wFORMS.helpers.addEvent(node,'submit',wFORMS.functionName_formValidation);				   //wFORMS.debug('validation/evaluate: FORM '+ node.id,3);               }           },
meta: 8955	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8955/6de8188e214da9dfbd3dbaa370c6a8570ee2d380/wforms.js/buggy/trunk/wforms.js