W
Webber
Hi all,
I'm currently using the Includetext function along with bookmarks and drop
down fields to determine what text is included in a document. The drop down
field has been given two options for selection - Yes or No and has been given
a bookmark name of ITS. Further in the document I have some code to retrieve
a bookmark using the Includetext function if the ITS value is set to yes.
Eg, {if {ITS} = "Yes" {INCLUDETEXT ..... }}
This is working fine.
However, I would like to change the drop down field to be a checkbox field,
for ease of use during input. I've changed the field so that it is a checkbox
but I don't know how to reference that in my IF statement. I've tried many
combinations of {ITS}.checked, {ITS.checked}, ITS.checkstate etc, but none
seem to work. If I insert the checkbox field using it's bookmark name ITS
(formula =ITS) into the document it displays 0, regardless of whether or not
the field is checked. If I do this when it is a drop down field, it shows Yes
or No depending on what is selected.
Does anyone know how I can reference a checkbox value on the form in an IF
statement?
Thanks,
Karen
I'm currently using the Includetext function along with bookmarks and drop
down fields to determine what text is included in a document. The drop down
field has been given two options for selection - Yes or No and has been given
a bookmark name of ITS. Further in the document I have some code to retrieve
a bookmark using the Includetext function if the ITS value is set to yes.
Eg, {if {ITS} = "Yes" {INCLUDETEXT ..... }}
This is working fine.
However, I would like to change the drop down field to be a checkbox field,
for ease of use during input. I've changed the field so that it is a checkbox
but I don't know how to reference that in my IF statement. I've tried many
combinations of {ITS}.checked, {ITS.checked}, ITS.checkstate etc, but none
seem to work. If I insert the checkbox field using it's bookmark name ITS
(formula =ITS) into the document it displays 0, regardless of whether or not
the field is checked. If I do this when it is a drop down field, it shows Yes
or No depending on what is selected.
Does anyone know how I can reference a checkbox value on the form in an IF
statement?
Thanks,
Karen