Karen,

Just attach the following to your "Clear" button (on Mouse Up)

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


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

Reply via email to