HI,
Ok.. it's bit triky as we have to use Javascript. I was thinking like it's on Main page.
Here we go__
1) Create one value prompt name it as 'choice'. The parameter for this is P_choice
2) create two radiobutton group value prompts. the parameters P_Region, P_Country
3) create boolean render variable for Region and Country prompts seperately.
for Region.... render variable say V_Region
script would be___
Code:
ParamDisplayValue('P_choice')='Region'
similar for Country
Code:
ParamDisplayValue('P_choice')='Country'
4) create an HTML item just beside to Choice prompt
give the script as
Code:
<Script>
function my_onchange()
{
SetPromptControl('reprompt')
}
document.forms["formWarpRequest"].elements["_oLstChoiceschoice"].onchange = my_onchange
</Script>
OR IHAVE ALSO CHANGE IT THIS SCRIPT AS UNDER!
Change the script last line
Code:
document.forms["formWarpRequest"].elements["_oLstChoiceschoice"].onchange = my_onchange
with
Code:
getFormWarpRequest()._oLstChoicesChoice.onchange=my_onchange;
Best Regards,
Syed Mohsin Raza