i have a page with a search function and i want to keep the values selected this way if i want to make another search i dont have to refill all the inputs.
Those are my inputs that i want to keep the value:
<?= $this->Form->input('search', ['placeholder' => 'Search', 'label' => false]); ?>
<input type="radio" name="multimedia_type_id" id="radio1" value="1">
<input type="radio" name="multimedia_type_id" id="radio2" value="2">
<input type="radio" name="multimedia_type_id" id="radio3" value="3">
<?= $this->Form->input('category_id', ['class' => 'electdown',
'label' => false,
'empty' => 'Categories',
'default' => 'Categories',
'options' => $categories
]); ?>
how can i keep the values?