Set form method