make the site registration page more picky, and refuse numeric-only inputs
[plewww.git] / planetlab / sites / register.php
index ef332bd..f9ed091 100644 (file)
@@ -41,6 +41,7 @@ function non_empty_address ($address) {
 if (! $empty_form ) {
   // Look for missing/blank entries
   $error = form_check_required ($site_form, $input);
+  $error .= form_check_non_numeric($site_form, $input);
   $messages= array();
   $verboses= array();