10 'lastname' => array(
'varname' =>
'lastname',
'title' =>
'Last Name',
'field_type' =>
'VARCHAR',
'field_size' => 255,
'field_size_min' => 3,
'required' => ProfileField::REQUIRED_YES_SHOW_REG,
'error_message' =>
'Incorrect Last Name (length between 3 and 255 characters).',
'position' => 1,
'visible' => ProfileField::VISIBLE_ALL,
'match'=>
'/.*/'),
11 'firstname' => array(
'varname' =>
'firstname',
'title' =>
'First Name',
'field_type' =>
'VARCHAR',
'field_size' => 255,
'field_size_min' => 3,
'required' => ProfileField::REQUIRED_YES_SHOW_REG,
'error_message' =>
'Incorrect First Name (length between 3 and 255 characters).',
'position' => 3,
'visible' => ProfileField::VISIBLE_ALL,),
12 'birthday' => array(
'varname' =>
'birthday',
'title' =>
'Birthday',
'field_type' =>
'DATE',
'field_size' => 0,
'field_size_min' => 0,
'required' => ProfileField::REQUIRED_NO_SHOW_REG,
'widget' =>
'UWjuidate',
'widgetparams' =>
'{"ui-theme":"base","defaultDate":"-20y","maxDate":"+0y","minDate":"-100y","yearRange":"-100:+0","changeMonth":"true","changeYear":"true"}',
'position' => 3,
'visible' => ProfileField::VISIBLE_REGISTER_USER,),
13 'gender' => array(
'varname' =>
'gender',
'title' =>
'Gender',
'field_type' =>
'VARCHAR',
'field_size' =>
'1',
'field_size_min' =>
'1',
'required' =>
'2',
'range' =>
'M==Male;F==Female',
'position' =>
'100',
'visible' => ProfileField::VISIBLE_ALL),
14 'send_me_notifications' => array(
'varname' =>
'send_me_notifications',
'title' =>
'Send me notifications via mail',
'field_type' =>
'VARCHAR',
'field_size' =>
'1',
'field_size_min' =>
'0',
'required' =>
'2',
'range' =>
'checkbox-1',
'position' =>
'100',
'visible' => ProfileField::VISIBLE_ALL,
'default' => 1,
'other_validator'=>
'{"boolean":{}}'),
15 'forAll' => array(
'varname' =>
'private_zip',
'title' =>
'Private Zip',
'field_type' =>
'VARCHAR',
'field_size' =>
'64',
'field_size_min' =>
'0',
'required' =>
'2',
'position' =>
'100',
'visible' => ProfileField::VISIBLE_ALL),
16 'forUser'=>array(
'varname' =>
'private_city',
'title' =>
'Private City ',
'field_type' =>
'VARCHAR',
'field_size' =>
'50',
'field_size_min' =>
'0',
'required' =>
'2',
'position' =>
'100',
'visible' => ProfileField::VISIBLE_REGISTER_USER),
17 'forOwner'=>array(
'varname' =>
'private_country',
'title' =>
'Private Country',
'field_type' =>
'VARCHAR',
'field_size' =>
'50',
'field_size_min' =>
'0',
'required' =>
'2',
'position' =>
'100',
'visible' => ProfileField::VISIBLE_ONLY_OWNER),
18 'REQUIRED_NO_SHOW_REG'=>array(
'varname' =>
'private_phone_number',
'title' =>
'Private Phone Number',
'field_type' =>
'VARCHAR',
'field_size' =>
'100',
'field_size_min' =>
'0',
'required' => ProfileField::REQUIRED_NO_SHOW_REG,
'position' =>
'100',
'visible' => ProfileField::VISIBLE_ALL),
19 'REQUIRED_YES_SHOW_REG'=>array(
'varname' =>
'private_mobile_phone',
'title' =>
'Private Mobile Phone Number ',
'field_type' =>
'VARCHAR',
'field_size' =>
'100',
'field_size_min' =>
'0',
'required' => ProfileField::REQUIRED_YES_SHOW_REG,
'position' =>
'100',
'visible' => ProfileField::VISIBLE_ALL),