Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Custom search with multiple fields


Go to End


1180 Views

Avatar
vegetav

Community Member, 23 Posts

5 April 2012 at 9:01am

I'm looking to implement a custom search feature, I need a text field and a drop down which people can select 'old' or 'new' and probably return items from a single dataobject which will have either an 'old' or 'new' value in a db column 'type', or the other option is to return all results that are children of either the old or new category pages.

Can anybody point me in the right direction for implementing this?