These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Making Check boxes act like radio buttons

pflores@sunflow...
Registered: Aug 21 2007
Posts: 37

Check boxes: One called approved and one called denied.
What's wrong with this script?

// assume the on value is 1 and the off value is 0
if (this.rawValue == "1")
{
Approved.rawValue = "0"
}

I get en error on the "{". I have this same script in another file and it works just fine. Why doesn't it work in this form?

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
Have you looked at [url=http://www.acrobatusers.com/tutorials/2007/js_radio_check_box/]Creating Radio CheckBoxes[/url] and the provided examples by Thom Parker?

George Kaiser