fixed active / inactive form handling & added name filling