Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Check Box value not saving

Avatar

Avatar
Boost 3
Level 1
stew1204
Level 1

Likes

4 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
stew1204
Level 1

Likes

4 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
stew1204
Level 1

08-01-2019

Upating a PDF file using Adobe SDK and VB.Net.  Text and Date fields update and save without any problems, but Check Boxes will update, but not save.  If I display the PDF file after updating the Check Boxes are checked, but after PDF file is saved they are not checked.  The PDF file was created with LiveCycle.  To test my program I created a PDF file with Acrobat.  The Check Boxes update and save on the PDF created with Acrobat, but the Check Boxes do not save on PDF created with LiveCycle.  Is there a different method to upate/save Check Boxes on a PDF created with LiveCycle?

Accepted Solutions (0)

Answers (5)

Answers (5)

Avatar

Avatar
Boost 10
Level 3
altrue990
Level 3

Likes

10 likes

Total Posts

73 posts

Correct Reply

14 solutions
Top badges earned
Boost 10
Give Back
Validate 1
Boost 5
Boost 3
View profile

Avatar
Boost 10
Level 3
altrue990
Level 3

Likes

10 likes

Total Posts

73 posts

Correct Reply

14 solutions
Top badges earned
Boost 10
Give Back
Validate 1
Boost 5
Boost 3
View profile
altrue990
Level 3

12-01-2019

Looking at your code snippets, if you are changing the values within the form and are using JavaScript, you must modify the `rawValue` property rather than the `value` property. I do not have experience with the Adobe SDK, but keep in mind that most APIs used to modify PDFs will modify only the AcroForm representation of the form. If you are using a dynamic form, you will have to update the XML of the XML Data DOM by hand.

Avatar

Avatar
Boost 3
Level 1
stew1204
Level 1

Likes

4 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
stew1204
Level 1

Likes

4 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
stew1204
Level 1

11-01-2019

According to the properties of the check box the 'On Value' is a 1 and the 'Off Value' is a 0.  See screen captures below.  I have tried both "1" and 1, both values mark the check box checked when document is displayed (Opened), but neither one saves when you save the document.  Can you identify what the 'custom value' is for the checked and unchecked state?

Code snippet:

"form1[0].#subform[0].cbComplaint[0]").value = "1"

"form1[0].#subform[0].cbComplaint[0]").value = 1

Code to display document:

AcroExchPDDoc.OpenAVDoc("Test")

Field Tab.jpgUntitled.jpg

Avatar

Avatar
Boost 10
Level 3
altrue990
Level 3

Likes

10 likes

Total Posts

73 posts

Correct Reply

14 solutions
Top badges earned
Boost 10
Give Back
Validate 1
Boost 5
Boost 3
View profile

Avatar
Boost 10
Level 3
altrue990
Level 3

Likes

10 likes

Total Posts

73 posts

Correct Reply

14 solutions
Top badges earned
Boost 10
Give Back
Validate 1
Boost 5
Boost 3
View profile
altrue990
Level 3

10-01-2019

The on / off state of the checkbox can be toggled using a custom value. Make sure you are setting the checkbox object to the correct value for the state you want (checked vs. unchecked).

Avatar

Avatar
Boost 5
Level 4
BarlaeDC
Level 4

Likes

23 likes

Total Posts

160 posts

Correct Reply

30 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 4
BarlaeDC
Level 4

Likes

23 likes

Total Posts

160 posts

Correct Reply

30 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
BarlaeDC
Level 4

09-01-2019

Moved.

Avatar

Avatar
Boost 5
Level 2
try67
Level 2

Likes

14 likes

Total Posts

120 posts

Correct Reply

1 solution
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile

Avatar
Boost 5
Level 2
try67
Level 2

Likes

14 likes

Total Posts

120 posts

Correct Reply

1 solution
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 1
View profile
try67
Level 2

08-01-2019

Try asking here: LiveCycle Designer