the following is the code for the the account_name field. it requires something like FirstName MI Lastname.
how do I change it so i can enter most anything???Code:// NAME if ($f_required[name]) { // Validate this field... if (eregi("^[a-zA-Z.,]{2,} {1,}[a-zA-Z,. ?]{1,}[a-zA-Z.]{2,}$", $f[name])) { if($comma) $q.= ' , '; $q.=" account_name = '$f[name]' "; $comma = TRUE; } else { $ret.="<BR>Please enter a valid name!"; } } else { if($comma) $q.= ' , '; $q.=" account_name = '$f[name]' "; $comma = TRUE; }
such as Tom or Bill or Sleepyeyes...


Reply With Quote
Bookmarks