If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Tab Indexing between Text box and Date on Prompt Page

Started by Roon3y, 08 Apr 2013 03:31:28 PM

Previous topic - Next topic

Roon3y

All,

I have been trying to scratching my head, trying to figure out a way to tab over Date prompt. On my prompt page i have 3 text boxes and a date prompt. I am using the follwoing script to work with text boxes. But for whatever reason it's not working for date prompt.

Quote<script language="javascript">
var f = getFormWarpRequest();
var p1 = f._textEditBoxPROMPT_NAME, p2 = f._textEditBoxPROMPT_NAME2, p3 = f._textEditBoxPROMPT_NAME3;
p1.tabIndex=2;
p2.tabIndex=1;
p3.tabIndex=3;
</script>
<body onLoad="p2.focus()">

I have tried many different variations to get date prompt to work. Variations as using "txtDate", adding html tag before and after date prompt and other things but i have not been successful, so i have come to you cognoise.

Anything will help.

Thank You