- _control_error($form, $file_name,
- $locale->text("Missing 'tag' field."))
- unless ($control->{"tag"});
-
- _control_error($form, $file_name,
- $locale->text("The 'tag' field must only consist of " .
- "alphanumeric characters or the carachters " .
- "- _ ( )"))
- if ($control->{"tag"} =~ /[^a-zA-Z0-9_\(\)\-]/);
+ if (!$control->{"tag"}) {
+ _control_error($form, $file_name, $locale->text("Missing 'tag' field.")) ;
+ }