Expand my Community achievements bar.

control whit a check Box a text

Avatar

Level 1

Hello,
I'm using LiveCycle9
Problem :
I want to control whit a check Box a text that will appear under the check box depending if the user click one #1 or #2

Ex: check box #1
The contract is good for 3 years...around 3 line of text.
Check box #2
The contract is good for 5 years ...around 4 line of text.

I want to see the 2 check box but the text must be hide until one box is checked.
Don't know how, need a hint for the script
Thanks
Alain

5 Replies

Avatar

Former Community Member

I have created a sample for you showing two different ways of doing it.

Paul

Avatar

Level 1

Hi Paul,

I did try your solution, but I'm receiving a JAVA Script error, and the method doesn't seem to work on my form.

Sending you the form, look at point #8 in the text, my test is right under.

I'll be happy if you can just make things work once, I'll manage to do the rest.

Regards

Alain

Avatar

Level 1

The file is attach. Hope you can get it!

Avatar

Former Community Member

I still do not see an attachment ....can you send it to livecycle8@gmail.com instead. I am guessing that you are trying to attach an xdp file and that is not one of the approved attachment formats (yet)! Or you can add an extension of txt and we can rename it when we copy it (filename.xdp.txt).

Paul