Parameters of Varien_Data_Form?

Why do I write this? Because I had the problem a few hours ago that no form was rendered in my backend formular. And as a few of you may know, the FireGento GermanSetup Team met today. Noone of us knew instantly why. So here are a few tipps.

HTML Attributes

You can set the html attributes id, name, method, action, enctype, class and onsubmit. Especially method and enctype is needed for file uploads. With onsubmit you can implement more checks in javascript. And with action the target of the form is defined, as you should know.

Container yes or no?

As you can see in the code there is another parameter: use_container. With use_container you decied wether to wrap a <form> around your form elements and add a form_key.