I am using CForm with some customized configurations for user inputs. The configurations of the CForm are altered via ajax on the fly so that I can add or delete CFormElements according to some preferences. This works great but I got problems adding a simple ajaxSubmitButton to my CForm configuration.
Is there an elegant way to add ajaxSubmitButtons to a CForm object? I don’t want to use CActiveForm as it isn’t that flexible
Ok, after asking it came to my mind that I could use this workaround. Instead of adding the buttons via form-config I render the button in the partial view between the two <form> tags like this.