=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-06-26 02:41:54 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-06-26 02:57:46 +0000 @@ -155,11 +155,7 @@ function validateSearchEvents( listAll ) { var flag = true; - if( listAll && jQuery( '#compulsoryDE option' ).length == 0 ){ - showWarningMessage( i18n_no_compulsary_data_elements ); - flag = false; - } - else if( !listAll ) + if( !listAll ) { jQuery( '#advancedSearchTB tbody tr' ).each( function( i, row ){ jQuery( this ).find(':input').each( function( idx, item ){