code: function(parentEl) {
        
        this.fieldset = inputEx.cn('fieldset');
        this.legend = inputEx.cn('legend', {className: 'inputEx-Group-legend'});
     
        // Option Collapsible
        if(this.options.collapsible) {
           var collapseImg = inputEx.cn('div', {className: 'inputEx-Group-collapseImg'}, null, ' ');
           this.legend.appendChild(collapseImg);
           inputEx.sn(this.fieldset,{className:'inputEx-Expanded'});
        }
     
        if(!lang.isUndefined(this.options.legend) && this.options.legend !== ''){
           this.legend.appendChild( inputEx.cn("span", null, null, " "+this.options.legend) );
        }
     
        if( this.options.collapsible || (!lang.isUndefined(this.options.legend) && this.options.legend !== '') ) {
           this.fieldset.appendChild(this.legend);
        }
    	   
        // Iterate this.createInput on input fields
        for (var i = 0 ; i < this.options.fields.length ; i++) {
           var input = this.options.fields[i];
          
  			// Throw Error if input is undefined
  			if(!input) {
  				throw new Error("inputEx.Form: One of the provided fields is undefined ! (check trailing comma)");
  			}
  			
           // Render the field
           var field = this.renderField(input);
           this.fieldset.appendChild(field.getEl() );
    	   }
    	
    	   // Collapsed at creation ?
    	   if(this.options.collapsed) {
    	      this.toggleCollapse();
    	   }
    	
    	   // Append the fieldset
    	   parentEl.appendChild(this.fieldset);
     }
docs: Render all the fields.
  We use the parentEl so that inputEx.Form can append them to the FORM tag