/**
  * Create a new instance of a I2CE_FormField
  * @param string $name
  * @param array $options A list of options for this form field.
  */
 public function __construct($name, $options)
 {
     parent::__construct($name, $options);
 }
 /**
  * Checks to see if the current value for this is set and valid.
  * @return boolean
  */
 public function isValid()
 {
     if ($this->getGenerate()) {
         return true;
     } else {
         return parent::isValid();
     }
 }