🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #15043

Designer 7.0 form working with Reader 7.0.5 but not Reader 7.0.8

#15043
From: Ben_Icore
Date: Wed, 02 Aug 2006 17:01
50 lines
2510 bytes
Hello everyone,

I was wondering if anyone has had a problem with a formed created using Designer 7.0 that was working with Reader 7.0.5 but no longer functions with Reader 7.0.8?

The form consists of a numeric textbox N1 and 2 checkboxes C1[0] and C1[1].

All code is done using FormCalc.

Here is the situation: if the number in the numeric box is blank or not greater then zero, then neither check box can be checked. Both check boxes can not be checked at the same time. If the value in the numeric box is greater then zero, the checkboxes may or may not be checked (again both can not be checked at the same time).

N1 has code the following code in its exit event:

if (($.isNull) or ($.rawValue le 0)) then
    C1[0].rawValue = 0 //if not positive value, checkboxes must be blank
    C1[1].rawValue = 0
endif

C1[0] has the following code in its click and exit event

if (C1[0].rawValue == 1) then
    C1[1].rawValue = 0 //C1[0] and C1[1] can not both be checked
endif

if ((N1.isNull) or (N1.rawValue le 0)) then
    $.rawValue = 0 //uncheck if N1 is not positive
endif

C1[1] has the following code in its click and exit event

if (C1[1].rawValue == 1) then
    C1[0].rawValue = 0 //C1[0] and C1[1] can not both be checked
endif

if ((N1.isNull) or (N1.rawValue le 0)) then
    C1[1].rawValue = 0 //uncheck if N1 is not positive
endif

The above code worked exactly as described when the form was used in Reader 7.0.5.

Under Reader 7.0.8 the following happens:

if N1 is blank or less then or equal to zero, both checkboxes can be checked at the same time (this should not happen at all) but neither can be unchecked

if N1 is positive the code (and checkboxes) function as described.

I am not sure if this is a Designer issue or a Professional/Reader issue, so I am posting this here as well as in the Designer area.

Any help is greatly appreciated,

Ben
Technical Details
Message-ID: <3bc12011.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,90b5ced5e74d06f8,start
X-Google-Attributes: gid10273d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Ben_Icore@adobeforums.com
Newsgroups: adobe.reader
Subject: Designer 7.0 form working with Reader 7.0.5 but not Reader 7.0.8
Message-ID: <3bc12011.-1@webcrossing.la2eafNXanI>
Date: Wed, 2 Aug 2006 10:01:20 -0700
Lines: 62
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing