inputEx - TypeField Usage

Basic TypeField creation

The TypeField provide an interface to create a custom form.

			new Y.inputEx.TypeField({parentEl: 'container1'});
		

Setting the value

The value returned by a TypeField is a JSON configuration for an inputEx field. Here's how to load such a value :

			new Y.inputEx.TypeField({
				parentEl: 'container2', 
				value: {
					type:'url',
					label: 'Website', 
					name:'website', 
					typeInvite: 'Enter a URL', 
					size: 30,
					description: 'You can provide a default value to TypeField',
					value: 'http://developer.yahoo.com/yui/3/'
				}
			});