public function setOptions($options)
{
$this->options = array_merge(array('errorDecorator' => $this->jFormsJsVarName . 'ErrorDecoratorHtml', 'method' => 'post'), $options);
if (isset($this->options['plugins'])) {
$this->pluginsConf = $this->options['plugins'];
unset($this->options['plugins']);
}
}