I'm giving this one to you finke because I had this
working. Here's an example
of what happens and shouldn't. I only search by
description and search for
something like "new", I get the correct search, but
then I click on advanced
search and it says that it's searching under url,
description and link name, all
the checkboxes have been checked. Looks like that's
because they are checked by
default. The way I got around it was to check if the
check if the checkboxes
were checked before the form was changed, and then set
them after they were
checked as soon as the form was outputted in the javascript
var url = document.form.url.checked.value;
<output the new form with checking the checkboxes>
if (url) document.form.url.checked = true;
i'd try to fix it myself, but i'm a bit swamped right
now, and i didn't break it. :)