Set forms state