I am designing a form that if the Yes box is selected then a hidden subform appears to be completed, if the No box is selected a different hidden form appears to be completd.
The Radio buttons are in their own subform
Yes selection should show SubForm - SubFormCAPExInfo
No selection should show SubForm - SubFormPOInfo
I have included the script and the debugger message. I am totally new at this and may even end up paying someone to finish this.
MeLinda
Java script
----- form1.ECRForm.SubFormCAPExCheckbox.CAPExYN.Yes::click: - (JavaScript, client) ----------------
if (CAPExYN.Yes = True)
this.presence SubFormCAPExInfo = "visible";
else (CAPExYN.No = True)
this.presence SubFormPOInfo = "visible",
This is the message I receive if Yes is selected. Nothing happens is No is selected.
Debugger Message:
Acrobat JavaScript Debugger Functions Version 7.0
Acrobat Database Connectivity Built-in Functions Version 8.0
Acrobat EScript Built-in Functions Version 8.0
Acrobat Annotations / Collaboration Built-in Functions Version 8.0
Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
Acrobat Multimedia Version 8.0
Acrobat SOAP 8.0
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:No[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:No[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
syntax error
4:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click
missing ; before statement
2:XFA:form1[0]:ECRForm[0]:SubFormCAPExCheckbox[0]:CAPExYN[0]:Yes[0]:click