+ \r
+ # Laengen-Pruefung\r
+ \r
+ if(isset($user_field_data['min']) && $user_field_data['min']) {\r
+ if(strlen($user_field_content) < $user_field_data['min']) {\r
+ show_user_error($user_field_data['errors']['too_short']);\r
+ }\r
+ }\r
+ \r
+ if(isset($user_field_data['min']) && $user_field_data['max']) {\r
+ if(strlen($user_field_content) > $user_field_data['max']) {\r
+ show_user_error($user_field_data['errors']['too_long']);\r
+ }\r
+ }\r
+ \r
+ # Pruefung gegen frei definierbare Pruef-Funktion\r