I need help figuring out how to make the check boxes to where only one option can be checked at a time, either yes or no. I am using check
boxes rather than radio buttons because i also need them to be able to be unchecked by re-clicking on them.
I am fairly new to this i would need a step by step for the most part. Thank you!
Views
Replies
Total Likes
What version of LiveCycle are you using?
Views
Replies
Total Likes
9.0
Jenna Cooley
Quality Assurance
Cascade Steel Rolling Mills
Ext. 8162 Cell: 503-474-7114
Views
Replies
Total Likes
Hi,
Just add the following script on the click event of checkbox:
Let's suppose their are two checkboxes CheckBox1 and CheckBox2.
1: On click of CheckBox1 set the value of CheckBox2 as null
form1.firstpage.CheckBox2.rawValue=null
2:On click of CheckBox2 set the value of CheckBox1 as null
form1.firstpage.CheckBox1.rawValue=null
and second issue to uncheck by re-clicking on them is bydefault provided with checkbox.
Thanks
Views
Replies
Total Likes
Hi, I tried the scripts you had suggested and it is not working for me... I don’t know if I am putting them in the wrong location? I pulled up the script editor for each object and put them in but when I preview the form it still gives the option to check both. Also I need to know how to script for 3 check box options
Jenna Cooley
Quality Assurance
Cascade Steel Rolling Mills
Ext. 8162 Cell: 503-474-7114
Views
Replies
Total Likes
Views
Replies
Total Likes
Jenna Cooley
Quality Assurance
Cascade Steel Rolling Mills
Ext. 8162 Cell: 503-474-7114
Views
Replies
Total Likes
I did not mean to send that ... is there a way to delete your own posts?
Views
Replies
Total Likes
I use the Actions Builder menu under tools to create an action where is one checkbox is checked, the other is unchecked and vice versa. I think the action builder is new to this version of LiveCycle and that's why I asked you which version you had. Everyone seems to really like writing script to program things but this version of LiveCycle has done alot of that for you.
Let me know if you have the action builder and then I can give you more directions for how to make those actions.
Views
Replies
Total Likes
I tried doing that I was putting the action as when CheckBox 3 is checked CheckBox 4 is disabled. But then I cant uncheck the box after I check it. Which result are you using for your action?
Jenna Cooley
Quality Assurance
Cascade Steel Rolling Mills
Ext. 8162 Cell: 503-474-7114
Views
Replies
Total Likes
You would have to make it: When CheckBox 3 is checked, CheckBox 4 is Unchecked. When CheckBox 4 is checked, CheckBox 3 is unchecked. I think that would work.
> Date: Fri, 1 Jul 2011 10:22:08 -0600
From: forums@adobe.com
To: jeanetteeichhorn@hotmail.com
Subject: Check box - When yes is checked no will uncheck
I tried doing that I was putting the action as when CheckBox 3 is checked CheckBox 4 is disabled. But then I cant uncheck the box after I check it. Which result are you using for your action?
Jenna Cooley
Quality Assurance
Cascade Steel Rolling Mills
Ext. 8162 Cell: 503-474-7114
>
Views
Replies
Total Likes
Here is the most optimal way to do this:
You can use radio buttons and just change their appearance. You can change the Round shape to Square and Check type is "Check"
Nith
Views
Replies
Total Likes
I originally had radio buttons, but I could not uncheck them after they had been checked so I changed them to checkboxes as many had suggested.
Jenna Cooley
Quality Assurance
Cascade Steel Rolling Mills
Ext. 8162 Cell: 503-474-7114
Views
Replies
Total Likes
Hi Jenna,
I have sent you a sample to your hotmail address, and i just added a simple script to make the collection of check boxes mutual exclusive.
Sample Script on each Check box |
---|
form1.PageOne.collectionSub.CheckBox1::click - (JavaScript, client) form1.PageOne.collectionSub.CheckBox2::click - (JavaScript, client)
form1.PageOne.collectionSub.CheckBox3::click - (JavaScript, client) form1.PageOne.collectionSub.CheckBox4::click - (JavaScript, client) |
Please let me know, whether am i understanding correct.
Thank You
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies