Hey
Got a wee query was looking for some help on.
I’ve got a load of structured data stored in custom fields in weblog/channel entries (EE1.6.9). The data corresponds to publications from a channel with a search form for each of four distinct categories.
Rather than use the built-in EE search I wanted to create my own, structured search form and use this in conjunction with EEs dynamic parameters to perform my own search queries using the {exp:weblog:entries} tag.
The aim here is really to be able to search against specific custom fields (eg author or publication year) rather than lump them into a single search input. All works fine and get some pretty nice results from this.
However the one unfavourable outcome of this approach is that to search against custom fields I end up with a HTML input like this:
<input name="search:title" />This is not very nice for two reasons:
* it invalidates the HTML on my page, and
* i can’t pair the search field with an associated label
Can anyone advise on an alternative approach?
Cheers
Cole