public/javascripts/inputex/build/inputex.js
function(value) {
	
	   // Render the subField
	   var subFieldEl = this.renderSubField(value);
	
		if(this.options.name) {
	   	subFieldEl.setFieldName(this.options.name+"["+this.subFields.length+"]");
		}
	
	   // Adds it to the local list
	   this.subFields.push(subFieldEl);
	   
	   return subFieldEl;
	}
function(value) {
	
	   // Render the subField
	   var subFieldEl = this.renderSubField(value);
	
		if(this.options.name) {
	   	subFieldEl.setFieldName(this.options.name+"["+this.subFields.length+"]");
		}
	
	   // Adds it to the local list
	   this.subFields.push(subFieldEl);
	   
	   return subFieldEl;
	}
function ( value ) { // Render the subField var subFieldEl = this . renderSubField ( value ) ; if ( this . options . name ) { subFieldEl . setFieldName ( this . options . name + "[" + this . subFields . length + "]" ) ; } // Adds it to the local list this . subFields . push ( subFieldEl ) ; return subFieldEl ; }
Adds an element
@param {Any} The initial value of the subfield to create
@return {inputEx.Field} SubField added instance
Adds an element