if ($profilefield[title]=='XXXXX') {eval("\$customfields_required .= \"".gettemplate("register_customfields_kg")."\";");} else {eval("\$customfields_required .= \"".gettemplate("register_customfields")."\";");}