=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm 2009-05-03 23:04:13 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm 2009-09-27 19:35:29 +0000 @@ -97,28 +97,27 @@ #else - - #if( $dataElement.type == "string" ) - #set( $coun = 0 ) - #foreach($customValue in $customValues) - #if($dataElement.id == $customValue.dataElement.id && $optionComboId == $customValue.optionCombo.id) - #set( $coun = $coun +1 ) - #end - #end - #if($coun>0) - - #else - #set( $zeroValueSaveMode = true ) - - #end - #end + #if( $dataElement.type == "string" ) + #set( $coun = 0 ) + #foreach($customValue in $customValues) + #if($dataElement.id == $customValue.dataElement.id && $optionComboId == $customValue.optionCombo.id) + #set( $coun = $coun +1 ) + #end + #end + #if($coun>0) + + #else + #set( $zeroValueSaveMode = true ) + + #end + #end #set( $minMaxError = false ) #if( $dataElement.type == "int" && $dataValue && $minMax )