Constructor Detail
bbq.gui.form.Form(options, options)
| Name | Type | Comment | 
|---|---|---|
| options | {Object} | |
| options | 
				
				Extends
					bbq.gui.GUIWidget.
				
				
					Defined in:  Form.js.
				
				
				
				
				
// create two fields
var field1 = new bbq.gui.form.TextField({name: "foo"});
var field2 = new bbq.gui.form.TextField({name: "bar"});
// add them to our form
var form = new bbq.gui.form.Form();
form.appendChild(field1);
form.appendChild(field2);
// set the values on the fields
field1.setValue("hello");
field2.setValue("world");
// returns {foo: "hello", bar: "world"}
form.getValues();
	
			
			
			
				| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
								 
									bbq.gui.form.Form(options, options)
								 
								This is a collection of form fields with names and values. 
							 | 
						
| Method Attributes | Method Name and Description | 
|---|---|
| 
									 render()
									 
									
								 | 
							
| Name | Type | Comment | 
|---|---|---|
| options | {Object} | |
| options |