more BoD
[freeside.git] / httemplate / edit / process / cust_main.cgi
index 1aaed28..33f7bb8 100755 (executable)
 %  );
 %}
 %
+%if ( $cgi->param('birthdate') && $cgi->param('birthdate') =~ /^([ 0-9\-\/]{0,10})$/ ) {
+%  $new->setfield('birthdate', str2time($1));
+%}
+%
 %$new->setfield('paid', $cgi->param('paid') )
 %  if $cgi->param('paid');
 %