PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________
David No problem - I understand the lack of sleep thing all too well. Thanks for looking at this for me and teaching me how to make this work..I appreciate the help. The whole "button is checked by default" angle threw me for a loop. It seems as though the default setting is cosmetic, and that the action cannot be performed until the buttonis physically clicked by the user. A lesson learned I suppose. Thanks again for your help. Kenn. ----- Original Message ----- From: "david lindblad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 7:21 AM Subject: Re: [PDF-Forms] Question about Selecting a Radio Button by Default PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________ Sorry about that, Kenn not Karen... lack of sleep thing :) Dave On 14-Apr-04, at 5:57 AM, kc wrote: > > PDF-Forms is a service provided by PDFzone.com | > http://www.pdfzone.com/ > __________________________________________________________________ > > George > > Thanks for your response. I am doing this with JavaScript. It is > placed on > the three radio button fields. Each button has a different export > value. > Whichever button is selected controls which combo box is displayed. > > The first radio button will be hidden from the user. I set the > properties > for this button to "button is checked by default". When the "Clear" > button > is clicked, the default radio button becomes selected, but the combo > box > that it controls is not displayed. > > The JavaScript on the three radio buttons is below (the conditions of > false > vs true do vary for each of the three buttons): > > var blank = this.getField("cbo_spon_blank") > var gmm = this.getField("cbogmm_spon") > var dmm = this.getField("cbodmm_spon") > > blank.hidden = false > gmm.hidden = true > dmm.hidden = true > > > Perhaps an example would make this easier. I've placed one at > http://www.polar.icestorm.com/sfl/radio_button_example.pdf > > Thanks again for any help on this. > > Kenn To change your subscription: http://www.pdfzone.com/discussions/lists-pdfforms.html To change your subscription: http://www.pdfzone.com/discussions/lists-pdfforms.html
