About 8 months ago, with Adobe 7, I managed to hack my way through Adobe Designer and come up with a form that had a bunch of check boxes in rows and columns that supported a stream assesment worksheet. The goal was to allow only one check in a row, and sum up all the columns. So far, I'm stumped on the restricting a single check box per row.
Now that I've upgraded to acrobat 8, with Lifecycle Designer, it seems that all the scripting that I hacked together doesn't work any more when I save the form. The same Java script appears in the script editor...just doesn't work. It does work when I open up the original PDF in Acrobat 8 reader. The script is/was supposed to add up group and total scores upon user clickity click clicking check boxes.
Now, bear in mind, I'm a guy who has his hand buried in crayfish mounds and muddy stream bottoms all day. It took me a year to figure out what Java was.
Any Hoo....I was wondering if any one could take a look at this and get me hacking in the right direction? The States of NC and SC will sure appreciate it!
http://www4.ncsu.edu/~tpcolson/Stream_ID_Form.pdf
For example instead of naming the check boxes by the column as in "1_Absent.0", "1_Weak.0", "1_Moderate.0", "1_Strong.0", you could name them by using something in the row such as "Chk.ContinousBedBank". So you would name all four of the check boxes in that row the same, "Chk.ContinousBedBank" and then give each check box in the row a unique export value in the Options tab of the check box properties dialog. The export value in the first check box would be "Absent" and the export value for the second check box would be "Weak" and so forth. Or in your case the numbers 0, 1, 2, 3 as you already have them. Now users will only be able to check one of the boxes in each row.
The export value must be declared otherwise if it is the same for each check box when any of the check boxes are checked they all become checked.
StevenD
StevenD