Hi
A try create form, but submit button is disabled, why?
source code:
$out = html::div(array('class' => 'settingsbox', 'style' => 'margin:0'),
html::div(array('id' => 'prefs-title', 'class' => 'boxtitle'), $this->gettext('filter_add')) .
html::div(array('class' => 'boxcontent'), $table->show() .
html::p(null,
$rcmail->output->button(array(
'command' => 'plugin.filter_add',
'type' => 'input',
'label' => 'save',
)))
)
);
$rcmail->output->add_gui_object('filterform', 'filter_add-form');
return $rcmail->output->form_tag(array(
'id' => 'filter_add-form',
'name' => 'filter_add-form',
'method' => 'post',
'action' => './?_task=settings&_action=plugin.filter_add',
), $out);
result code:
edit:
I found solution, I forgot add javaSript codeq:)