9 * @class Roo.bootstrap.Form
10 * @extends Roo.bootstrap.Component
11 * Bootstrap Form class
12 * @cfg {String} method GET | POST (default POST)
13 * @cfg {String} labelAlign top | left (default top)
17 * @param {Object} config The config object
21 Roo.bootstrap.Form = function(config){
22 Roo.bootstrap.Form.superclass.constructor.call(this, config);
25 * @event clientvalidation
26 * If the monitorValid config option is true, this event fires repetitively to notify of valid state
28 * @param {Boolean} valid true if the form has passed client-side validation
30 clientvalidation: true,
33 * Fires when the form is rendered
34 * @param {Roo.form.Form} form
40 Roo.extend(Roo.bootstrap.Form, Roo.bootstrap.Component, {
43 getAutoCreate : function(){
47 method : this.method || 'POST',
48 id : this.id || Roo.id(),
52 if (this.labelAlign == 'left' ) {
53 cfg.cls += ' form-horizontal';