PHPRunner 6.2 Build 15275
I have an advanced search Page with 1 date. I need to set the search page to default values: Not checkbox selected, Option: More than and value: sysdate.
I used the code from post 17530 and i adapted it:
var name='Selectiedatum';
var name1=name.replace(' ','_');
$("#srchOpt1"+name1).val('More than');
$("#srchOpt1"+name1).trigger('change');
var ctrl = Runner.getControl(pageid, name);
var d1 = new Date();
d1.setDate(d1.getDate());
ctrl.setValue(d1);
- How can I set the NOT-checkbox selected?
- How can I archieve the same effect using the Javscript API SearchController and SearchField Objects? I tried a lot of combinations but I can't get it working.