Solved

Adobe LiveCycle Checkbox evaluation

Posted on 2011-03-03
1
1,049 Views
Last Modified: 2012-05-11
I am trying to enter a FormCalc “if” calculation in an Adobe LiveCycle document.

The FullSP1 field is a checkbox.

How do I describe its value?

I tried the following:

if FullSP1 = on then
if FullSP1 = True then
if FullSP1 = Yes then

All of them gave me a syntax error.

What is the proper code for evaluating the value of a checkbox?

0
Comment
Question by:PaBirds
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 35037074
Try

if (FullSP1 EQ 1)

Attached is a little script that changes the text in a textbox:
if (CheckBox1 EQ 1) then
	TextField1 = "Checked"
else
	TextField1 = "Not Checked"
endif

Open in new window

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question