while designing in Cognos 8.2, this code worked fine to change the default option from "Start with Any of these keywords" to "Contains any of these keywords"
Needed the Cognos 8.4 code which will change the default option to "Contains any of these keywords" and "XXX" is the name of the Search and Select Object
<script>
document.forms("formWarpRequest")._sws_XXX_matchAnywhere.value = 'true';
document.forms("formWarpRequest")._sws_XXX_matchAll.value = 'false';
document.forms("formWarpRequest").swsOptionXXX(2).checked=true;
</script>
I am trying to do the same thing in Cognos 8.4... but it doesnt work.
Can any one of you help me in this....