add:   var exactMatch = ((' ' + variable.className + ' ').indexOf(' '+wFORMS.behaviors.calculation.VARIABLE_SELECTOR_PREFIX+variables[i]+' ')!=-1); if(!exactMatch) return;  
context: 						function(variable){							//console.log('variable:',variable, variable.tagName + ":" + variable.getAttribute('type'));							switch(variable.tagName + ":" + variable.getAttribute('type') ) {								case 'INPUT:':			// (type attribute empty)								case 'INPUT:null': 		// (type attribute missing)								case 'INPUT:text':								case 'INPUT:hidden':								case 'INPUT:password':								case 'TEXTAREA:null':									if(!variable._wforms_calc_handled) {										variable.addEventListener('blur', function(e){ return b.run(e, this)}, false);										variable._wforms_calc_handled = true;									}									break;								case 'INPUT:radio':		 														case 'INPUT:checkbox':									if(!variable._wforms_calc_handled) {										variable.addEventListener('click', function(e){ return b.run(e, this)}, false);										variable._wforms_calc_handled = true;									}									break;											case 'SELECT:null':									if(!variable._wforms_calc_handled) {										variable.addEventListener('change',  function(e){ return b.run(e, this)}, false);										variable._wforms_calc_handled = true;									}									break;										default:									// error: variable refers to a non supported element.									return;									break;							}							b.varFields.push({name: variables[i], field: variable});												}
meta: 8955	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8955/b4c3f459a214f1abf932ebf4eecf8504548aeec6/wforms_calculation.js/clean/branches/3.0/wforms_calculation.js