 
     return form
 
-  getFormNames: ->
-    [
-      'productForm'
-      'choiceForm'
-      'entryForm'
-      'confirmForm'
-    ]
-
-  hideForms: (forms = @getFormNames()) -> @[form]?.hide() for form in forms
-
   setState: (state) ->
-    @hideForms()
-    switch state
-      when 'product'    then @productForm.show()
-      when 'choice'     then @choiceForm.show()
-      when 'entry'      then @entryForm.show()
-      when 'confirm'
-        confirmData = @utils.extend {}, @aggregatedData
-        @confirmForm.setData confirmData
-        @confirmForm.show()
+    @showForm state
+    if state is 'confirm'
+      confirmData = @utils.extend {}, @aggregatedData
+      (@getForm 'confirm').setData confirmData
 
   viewAppended:-> @prepareWorkflow()
 


          defaultMethod = methodsByPaymentMethodId[defaultPaymentMethod]

          @choiceForm.addCustomData 'paymentMethod', defaultMethod

          select = new KDSelectBox
            defaultValue  : defaultPaymentMethod

            selectOptions : methods.map (method) ->
              title       : KD.utils.getPaymentMethodTitle method
              value       : method.paymentMethodId
            callback      : (paymentMethodId) ->
              chosenMethod = methodsByPaymentMethodId[paymentMethodId]
              choiceForm.addCustomData 'paymentMethod', chosenMethod


          paymentField.addSubView select
