Fixed up form handling to use a better set of functions. Makes it easy now. Implementing Chosen next.