Form->create('Event');?>
Filter Event Index
Form->input('rule', array( 'options' => $rules, //'empty' => '(Select a filter)', 'class' => 'input', //'label' => 'Add Filtering Rule', 'onchange' => "indexRuleChange();", 'style' => 'margin-right:3px;width:120px;', 'div' => false )); echo $this->Form->input('searchbool', array( 'options' => array("OR", "NOT"), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:62px;margin-right:3px', 'div' => false )); echo $this->Form->input('searchpublished', array( 'options' => array('0' => 'No', '1' => 'Yes', '2' => 'Any'), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:503px;', 'div' => false )); echo $this->Form->input('searchthreatlevel', array( 'options' => array('1' => 'High', '2' => 'Medium', '3' => 'Low', '4' => 'Undefined'), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); echo $this->Form->input('searchanalysis', array( 'options' => array('0' => 'Initial', '1' => 'Ongoing', '2' => 'Completed'), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); echo $this->Form->input('searchdistribution', array( 'options' => array('0' => 'Your organisation only', '1' => 'This community only', '2' => 'Connected communities', '3' => 'All communities'), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); if ($showorg) { echo $this->Form->input('searchorg', array( 'options' => $orgs, 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); } echo $this->Form->input('searchtag', array( 'options' => array($tags), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); echo $this->Form->input('searchdatefrom', array( 'div' => 'input clear', 'class' => 'datepicker', 'data-date-format' => 'yyyy-mm-dd', 'label' => false, 'style' => 'display:none;width:236px;margin-right:3px;', 'div' => false )); echo $this->Form->input('searchdateuntil', array( 'class' => 'datepicker', 'label' => false, 'data-date-format' => 'yyyy-mm-dd', 'style' => 'display:none;width:236px;', 'div' => false )); echo $this->Form->input('searcheventinfo', array( 'label' => false, 'class' => 'input-large', 'style' => 'display:none;width:424px;', 'div' => false )); ?>
Form->end();?>
$field): ?>
Target Value
Form->create('Event', array('id' => 'test', 'url' => $baseurl . '/events/index'));?>
Form->input('generatedURL', array( 'label' => false, 'class' => 'input', 'style' => 'width:620px;display:none;', 'div' => false )); ?>

Save this URL if you would like to use the same filter settings again

Apply Cancel
Js->writeBuffer();