# inputEx - TypeField Usage

## Basic TypeField creation

The TypeField provide an interface to create a custom form.

new 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 inputEx.TypeField({ parentEl: 'container2', value: { type:'url', label: 'Website', name:'website', typeInvite: 'Enter a URL', description: 'You can provide a default value to TypeField' } });