Previous | Next | (P-PDF) What's Wrong with my PDF?
Topic: HELP - check box to hide/unhide field
Conf: (P-PDF) What's Wrong with my PDF?, Msg: 155784
From: sdmik
Date: 11/4/2006 12:29 AM
Please help - I am a very new Adobe 7 Professional user. I have a form where if a certain checkbox (named Internal) is checked a date field (named Text17) is hidden. That part works fine - the problem is if you check the box by accident and then uncheck it - the field will not "unhide".
The text field is actually a calculated field with this script in the custom calcuation script:
var x=new Date();
var m=x.getMonth()+6;
x.setMonth(m);
event.value=util.printd("dd mmmm yyyy",x);
The checkbox has this script on a mouseup run javascript:
var nHide = event.target.isBoxChecked(1)?display.visible:display.hidden;
this.getField("Text17").display = nHide;
Thanks in advance for your help!
Kim