 |

irishis
User
Mar 31, 2003, 6:19 AM
Post #1 of 6
(1695 views)
Shortcut
|
|
search set-up help
|
Can't Post
|
|
http://design.criabarn.com/rm/exec/search.cgi can someone look at that url and source, I'm trying to get a search to work looking for herdsires, not junior herdsires, all the others would be any. I know that there are several but I can't get any to come up. or check this code: <tr> <td><font face="arial" size=2><strong> Herdsire </strong></font></td> <td> <select name="lfield41_match"> <option value="">Any <option>Yes (comment: I've also tried this with the no option in this too-comment in this post only not on webpage) </select> </td> </tr> The listing field is set up and check boxes with yes or no. I've checked the field, I've checked the listings and I cannot see where the problem lies.
|
|
|  |
 |

Benjamin
Staff

Mar 31, 2003, 9:06 AM
Post #2 of 6
(1692 views)
Shortcut
|
|
Re: [irishis] search set-up help
[In reply to]
|
Can't Post
|
|
Hi Irishis, How's it going!? Nice to hear from you. Try this: change value="lfield41_match" to value="lfield41_keyword" in the select tag. I tried changing that in your query string and it seemed to fix it up. The question is, why...!? It's possible that your Yes dropdown has an extra space in it - that would be my guess. That way, it wouldn't correctly match "Yes" to "Yes ". But regardless - just change it to _keyword, and that should fix it up. :-) Ben interactivetools.com
|
|
|  |
 |

irishis
User
Mar 31, 2003, 9:53 AM
Post #3 of 6
(1686 views)
Shortcut
|
|
Re: [Benjamin] search set-up help
[In reply to]
|
Can't Post
|
|
Nope no spaces, I'll go in and change the keyword thing and I'm sure that will do the trick.
|
|
|  |
 |

irishis
User
Mar 31, 2003, 10:06 AM
Post #4 of 6
(1684 views)
Shortcut
|
|
Re: [Benjamin] search set-up help
[In reply to]
|
Can't Post
|
|
ok I fixed it, changing it to keywords didn't work, I'm not quite sure what did. But it's working now, I'll just slowly add in some other things back in that I took out....boy...that sounds familiar. By the way, was I working with you on the problem with the html? I have a question for whoever that was, namely why this page :http://design.criabarn.com/rm/listings/l0007.html see micron count, why does this field work? it definitely has characters that would cause problems with the script I use to hide fields but yet it shows up with no problem?????
|
|
|  |
 |

Benjamin
Staff

Mar 31, 2003, 10:22 AM
Post #5 of 6
(1681 views)
Shortcut
|
|
Re: [irishis] search set-up help
[In reply to]
|
Can't Post
|
|
Hi - Yes, it was me you were working with on that javascript / html problem. :-) The page you mentioned does have a javascript error when you open the page, but you'll only see it if your browser is set to "display a norification about every script error" - a setting in IE. But the reason it's working for that field is - I think - because the micron count placeholder has been html-encoded (i.e. $lfieldX_he$). That would encode the " and > characters (amongst others) which could cause problems with the javascript. Ben interactivetools.com
|
|
|  |
 |

irishis
User
Mar 31, 2003, 10:37 AM
Post #6 of 6
(1678 views)
Shortcut
|
|
Re: [Benjamin] search set-up help
[In reply to]
|
Can't Post
|
|
Well they all have that _he encoding thing it just doesn't work for some of them, I guess. This new update couldn't come to soon, I want to be able to see all that I should be able too. I do see the error, but the thing was I could see the field with the punctuation that causes problems in the other fields-and don't show up- that have exactly the same coding/script. Wish it wouldn't pick and choose.
|
|
|  |
|