I have a page view (www.example.com/page_view) with an exposed filter. The exposed filter is a dropdownlist.
In some occasions I would like to display directly the page_view with only the items with a value from the dropdown list. For that purpose, I pass the corresponding ID of that item to the URL
www.example.com/page_view?itemID=value
The page_view is correctly shown and the passed value is selected in the dropdownlist. So far, so good.
If I manually change the itemID value in the URL to a non-existing ID an error is shown on the screen:
An illegal choice has been detected. Please contact the site administrator and a red border is shown around the dropdownlist.
Is it possible to cache that error (maybe by validating if the itemID exists) so that only the search box is shown and a message like: "no matching results" ?
Thanks in advance.
Comments
Comment #1
mustanggb commented