From: Raoul P. <pie...@wa...> - 2004-06-17 08:23:47
|
Hello, In Formsess SVN from 06/03/2004 1/ In FormsessValidatorJavascriptSyntax::addValidationCode Replace $this->addLine("// syntax validation for $fname"); with $this->addLine("// syntax validation for $fieldName"); or better $this->addLine( '// syntax validation for ' . $this->_fsObject->_smartyEmbed('/literal') . $fieldName . $this->_fsObject->_smartyEmbed('literal') ); 1/ In FormsessValidatorJavascriptChecked =20 Replace $this->addLine("// checks if $fname is checked"); with $this->addLine("// checks if $fieldName is checked"); or better $this->addLine('// Checks if ' . $this->_fsObject->_smartyEmbed('/literal') . $fieldName . $this->_fsObject->_smartyEmbed('literal') . ' is checked' ); =20 and $this->addLine(" if ($fieldVarStrin g[i].checked) {"); with =20 $this->addLine(" if ({$fieldVarString}[i].checked) {"); =20 Regards Pierre |