Re: Store Client ID in JavaScript variable

So If you have configured “Store Client ID in JavaScript variable” to "Yes", you can define one variable name and you can access that variable into your custom javascript. It will help you to access choice control into your javascript by using - document.getElementById(variablename). So When you write javascript, you can access the value from choicecontrol.

Now in order to show selected value from choice control, you have 2 options.

1. You can use Calculated control and set it's formula to choice control name

2. Use custom javascript and access choice control and label control by using “Store Client ID in JavaScript variable” and set the value.

Re: Store Client ID in JavaScript variable

thanks a lot your page help me a lot to showing calculated value in textbox box by using Client ID in JavaScript variable . its working fine . but I noticed something when I use (IF condition ) for this textbox , IF condition not working correctly with this textbox . do u know why ???