Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Is there any way I can set the set default to Any Condition for the advanced search page when it is loaded?Chris.
Chris,please check this thread:http://www.asprunner.com/forums/topic/13115-how-to-control-initial-value-of-search-options-dropdown-box-on-advanced-search-page/
Does it mean that the code will be :<script>function setSelectedIndex(s, v) {for ( var i = 0; i < s.options.length; i++ ) {if ( s.options[i].text == v ) {s.options[i].selected = true;return;}}}setSelectedIndex(document.editform.type,"or"); ShowHideControls();</script>
Chris,there is a more easy way: add Search page: Before displayevent and use following code:
any_checkbox = "value=""or"""any_checkbox = CSmartStr(any_checkbox) & " checked"xt.assign "any_checkbox",any_checkbox