set form class globally