adjust form class attribute.