function __construct()
 {
     $this->name = 'label';
     $this->label = "Label";
     $this->required = false;
     $this->message = "This field can't be Empty";
     $this->params = array('default_value' => '');
     parent::__construct();
 }
 function __construct()
 {
     $this->name = "text";
     $this->label = "Text";
     $this->required = false;
     $this->valid = true;
     $this->message = "This field can't be Empty";
     $this->params = array('placeholder' => '', 'default_value' => '', 'maxlength' => '');
     parent::__construct();
 }
 function __construct()
 {
     $this->name = 'checkbox';
     $this->label = "Check Box";
     $this->required = false;
     $this->valid = true;
     $this->message = "This field can't be Empty";
     $this->params = array('layout' => 'vertical', 'choices' => array(), 'default_value' => '');
     parent::__construct();
 }
 function __construct()
 {
     $this->name = 'select';
     $this->label = "Combo Box";
     $this->required = false;
     $this->valid = true;
     $this->message = "This field can't be Empty";
     $this->params = array('choices' => array(), 'default_value' => '');
     parent::__construct();
 }
 function __construct()
 {
     $this->name = 'colorpicker';
     $this->label = "Color Picker";
     $this->required = false;
     $this->valid = true;
     $this->message = "This field can't be Empty";
     $this->params = array('placeholder' => '');
     parent::__construct();
 }
 function __construct()
 {
     $this->name = "file";
     $this->label = "File";
     $this->required = false;
     $this->valid = true;
     $this->message = "This field can't be Empty";
     $this->params = array('filetypes' => '');
     /* File upload validator */
     add_filter('wccpf/upload/validate', array($this, 'validate_file_upload'), 5, 3);
     /* File upload filter */
     add_filter('wccpf/upload/type=file', array($this, 'process_file_upload'));
     parent::__construct();
 }