       name          : 'lastName'
       attributes    :
         size        : Encoder.htmlDecode(profile.lastName).length
+      validate      :
+        rules       :
+          maxLength : 25
+        messages    :
+          maxLength : "Sorry, maximum 25 chars can be entered for the lastname!"
 
     @nameView = new ProfileTextView
       tagName       : "p"

      validate      :
        rules       :
          required  : yes
        messages    :
          required  : "First name is required!"

    @lastName = new KDInputView
      cssClass      : 'lastname editable'

      validate      :
        rules       :
          required  : yes
          maxLength : 500

    @aboutInfo = new PersonalAboutView
      tooltip            :
