Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This works fine in IE, but when iuse it in the lastest firefox my search term never resets and just keeps appending and searching ont he long string.
Anyone else have this problem?
That is really odd as it's just a simple form post, that could maybe mean all forms act this way in Firefox? Have you tried starting Firefox in safe mode (Start > Programs > Mozilla Firefox > Mozilla Firefox (Safe Mode)) ? Maybe it's one of your extensions.
Did you make any customizations to the XSLT? Or are you changing any querystring variables?
I've never seen this behaviour with XSLTsearch in Firefox!
The difference is there was an additional search form in the header. xslt and maco properties have not changed. I've disabled the one above the search result for now which seems to have fixed it.
I need to get the project out so will investigate it further later. thanks.
Aha, I can see how that can be a problem if the form tag is around your whole site instead of just around the search field. All you really need is a simple bit of HTMLlike this:
<form action="/search.aspx" method="post">
<input type="text" name="search" />
<input type="submit" />
Where search.aspx is your XSLTSearch node.
I'm getting this same issue - in my Master template I have a form tag around the whole page.
The XSLT search works fine for the first search, but appends all the search terms in a comma separated list if you search more than once. This returns no results.
I've tried adding form tags around the input sections of the xslt file, but with no luck.
Did you ever resolve this? If so, what was the solution?
I realize this is a really old thread, but we are now getting this issue after applying new templates to our aging site. So, when you are on the search page, you actually have four search boxes. One in the page header, one in the page footer, one above the search results, and one below the search results. The entire page is wrapped in a single form tag, ala Web Forms. Migrating to MVC and razor is a future project.
Could I just wrap the XSLT search fields in something, or rename those search fields?
Here I go again, answering my own question... sort of. I figured out the problem has nothing to do with my search boxes in my page header and footer. The problem is within the search code itself when used in a Web Forms template. You have a single form with two inputs, both named "search". And, in normal HTML fashion, when you have inputs with the same name, their values are sent as a comma separated list. The problem is, when submitting the revised search, knowing which of fields to submit and ignore the other.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted