Hi,
I have a Value Prompt with below property,
Multi Select: YES
Prompt UI: Check box group
Name:prompt1
<script language="javascript">
function validate()
{
var f = getFormWarpRequest();
var list = f._oLstChoicesprompt1;
alert(list.value);
}
</script>
Finsh Button:
<button style="background-color:#F0F0F0;height:21px;width:70px;font-weight:bold" class="clsPromptButton" onClick="validate(); " >Finish </button>
The problem is, the JS is not recognizing the Prompt Control. But when i change the Value Prompt property to Multi Select: No & Prompt UI to 'Drop Down' then it works fine.
I want when you select value from the Check box and hit the 'Finish' button, it should pop up the value selected.
Any idea?
Thanks
Prit