Add simple form logic