This topic is locked

How to make Between option selected by default on Advanced Search page

3/6/2026 08:44:33
PHPRunner Tips and Tricks
Sergey Kornilov admin

The same code will work in both PHPRunner and ASPRunner.NET.

The easiest option is to use code in Javascript OnLoad event of the Advanced Search page. Here is the sample code:
$("select[id*=OrderDate]").val("Between");

Replace OrderDate with your field name, case-sensitive.