COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: sandy_vitty on 17 Sep 2008 08:51:50 PM

Title: date values selected in javascript
Post by: sandy_vitty on 17 Sep 2008 08:51:50 PM
Hi All

         I have a prompt page in which i have couple of date prompts and a cascading value prompt on a different field.

For the date prompt i use the following javascript to change the default selection to blank

<script language="javascript">
document.forms["formWarpRequest"].elements["txtDatereceivedfromdate"].value='';
</script>

But when i select a date in my date prompt and then select a value in value prompt(cascading prompt) which is set to autosubmit the refreshed page does not have the dates selected.

I want those dates to still be selected even after the cascading prompt is submitted.

Thanks appreciate any help