[Solved]: Change Default Checked Boxes for Searches [Solved]: Change Default Checked Boxes for Searches
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[Solved]: Change Default Checked Boxes for Searches

Started by FuzzyD, July 04, 2008, 09:29:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FuzzyD

I apologize in advance if this has been answered. I tried multiple searches on the forum before deciding to post this.

There are three search fields that are checked by default on the Search Page:

Title
Caption
Keywords

Since the only field worth searching in for my database is by filename, I would like to have Filename checked by default for new searches, and uncheck the other three fields.  I tried looking for the code to change in search.php and searchnew.php but couldn't figure it out myself.

Thanks in advance for the help!

Nibbler

Just remove 'checked="checked"' from the inputs you don't want checked and add it to the one you do want checked.

FuzzyD

Quote from: Nibbler on July 04, 2008, 09:33:51 PM
Just remove 'checked="checked"' from the inputs you don't want checked and add it to the one you do want checked.

Thank you : )  Solved.