Add a form fields creator to smarty object. creates inputs, and selects.