Customize "Your query was poorly formed" message?

Post Reply
robert.vreeland
Posts: 12
Joined: Thu Mar 29, 2007 1:39 pm

Customize "Your query was poorly formed" message?

Post by robert.vreeland »

Users on our site sometimes get the error "Your query was poorly formed. Please make corrections" when using incorrect syntax (such as a hyphen followed by a space). Is there a way for us to customize this error message (i.e., replace it with some other text)?

Thanks,
Rob
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Customize "Your query was poorly formed" message?

Post by mark »

If you're using the XSL results style you could, in your custom XSL, look for QueryMessage being that value and print something different instead.
Post Reply