'get',
'enableClientValidation' => true,
'validateOnSubmit' => true,
] ); // this is redundant because it's true by default
$cssClassSearchFields = 'complete_field searchfields';
CreateFormManager::prepareFormFields($model, $form, $selectionLists, $primaryObject, $cssClassSearchFields, $label, $placeholder);
echo $this->render( '@common/views/search/mapSearch' );
?>
";
echo "
";
echo Html::submitButton ( 'Submit', [
'class' => 'btn btn-primary'
] );
echo " ";
echo "
";
$headerTitle = "Add search field";
$headerClass = "btn btn-primary";
$itemContent = $this->render ( '@common/views/search/searchFieldSelection', [
'hideable_fields' => $model->getHideableListFields (),
'hidden_elements' => $model->getHideableList ()
], true );
CreateFormManager::AddAccordion($headerTitle, $headerClass, $itemContent);
echo "
";
ActiveForm::end ();
?>
params['websitesearch']) {
echo '
The search with wildcard is not fully working yet. Please search
for complete words (or sentences) only.
';
$form2 = ActiveForm::begin(['id' => 'form-websearch','action' => $submitWebsearch]); ?>
= $form2->field($modelwebsite, 'content')?>
= Html::submitButton('Search', ['class' => 'btn btn-primary', 'name' => 'website-button'])?>
'; } ?>