Define attributes on the form object.