Solved

Adobe LiveCycle Checkbox evaluation

Posted on 2011-03-03
1
1,040 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
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

770 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