diff --git a/web/zm_html_view_controlcap.php b/web/zm_html_view_controlcap.php index 2cf3a3c54..9ffc09653 100644 --- a/web/zm_html_view_controlcap.php +++ b/web/zm_html_view_controlcap.php @@ -78,10 +78,10 @@ function validateForm(Form) { var errors = new Array(); - if ( Form.elements['new_control[Name]'].value.search( /[^\w-]/ ) >= 0 ) - { - errors[errors.length] = ""; - } + //if ( Form.elements['new_control[Name]'].value.search( /[^\w-]/ ) >= 0 ) + //{ + //errors[errors.length] = ""; + //} if ( errors.length ) { alert( errors.join( "\n" ) );