Expand my Community achievements bar.

identify the text value of radio button

Avatar

Level 3

a form has two languages a, b, switched by a drop-down list. there's a exclusion group, its members are radio buttons 1, 2, .... when first open the page, it is language a. after selecting language b, the text of buttons 1, 2, ... will change to language b as well accordingly.

this will be handled by javascript. but i don't know how to identify the text of these radio buttons. i tried button1.rawValue, button1.value.text.value but failed. would u pls tell me how? thx!

3 Replies

Avatar

Level 7

In Formcalc you would use:

button1.caption.value.#text

Avatar

Level 10

Hi,

I have made an example once for multilingual forms you can work with.

For your needs I added an exclusion group, so you also can see how to change the caption of those radio buttons.

https://acrobat.com/#d=nEDFzJRnPT-dLJgwONSIbQ

Hope this helps ;-)

Avatar

Level 3

Thank you and indeed your idea inspired me to develop the multilingual form. but in this case i'm specific at the radio button while your example doesn't present this.

Also I have a lot more objects other than textfield to get its location. Do u know if there's any manual that I can look up to locate these objects so that I won't need to ask for your help each time?

Thanks again!