This forum has moved to a new location and is in read-only mode. Please visit to access the new location.


I have a search form component which has a property which allows the search component to select the result page. the result page url is setup like this:


how do i pass the posted data when the form is submitted to the page selected in the component ($this->property('listing_page')) and pass the post data. i know its routing but not sure how to do it. Any help would be great!

Last updated

public function onSearch()
    $params = [
        'manufacturer' => post('manufacturer'),
        'group' => post('group'),

    $listingPage = $this->property('listing_page');
    $url = $this->controller->pageUrl($listingPage, $params);

    return Redirect::to($url);

1-2 of 2

You cannot edit posts or make replies: the forum has moved to