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

how to show field value

Avatar

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
sdasda37384323
Level 1

04-06-2018

hey, sorry my english isnt perfect. Who can help me , how to show value of fields ?

how to get value of nip1[0] ??

sss.PNG

[ Moderator: Moved to LiveCycle Designer forum ]

Accepted Solutions (0)

Answers (10)

Answers (10)

Avatar

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
sdasda37384323
Level 1

06-06-2018

ok i can get value of field:

$stamper.AcroFields.Xfa.DomDocument.xdp.form.subform.subform.subform.field.value.text

return Jack

when i run:

$stamper.AcroFields.Xfa.DomDocument.xdp.form.subform.subform.subform.field.value.text="Tom"

$stamper.close()

In my pdf still is Jack, why ? I set in this field tom. Can someone explain me ?

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

06-06-2018

I'm a bit lost now, this thread started with a question about using the Acrobat debugger, then there was an iText question.

I'm not sure what you were trying to do with that field reference and in which context.

Are you trying to get the combined value of the NIP1 and Naczelnik fields?

Avatar

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
sdasda37384323
Level 1

05-06-2018

can you write me correctly code

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

05-06-2018

The reference is case sensitive and the group item naglowek doens't have a rawValue property, you need the NIP1 after it

Avatar

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
sdasda37384323
Level 1

05-06-2018

xfa.deklaracja.strona1.naglowek.rawvalue; nip should work ?? but this doesn't work...

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

05-06-2018

I haven't tried, but would imagine so.  Something for the itext forum

Avatar

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
sdasda37384323
Level 1

04-06-2018

i have next question. Powershell with itextsharp can display this value ?

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

04-06-2018

Hi,

You have lost me, if it works then you should now know how to display the value.

The validate I was referring to was the code you have in the validate event of NIP1, which is what you have highlighted in the screen shot

Avatar

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sdasda37384323
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
sdasda37384323
Level 1

04-06-2018

ok, itworks, but how to get value of display ? there is no function validate

Avatar

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile

Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

270 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
MVP

04-06-2018

If you have a breakpoint in the validate of NIP1 then type "this.rawValue" (no quotes) in the debugger console and press control-enter.  Otherwise, you can use the JavaScript dot references following your structure so Strona1.Naglowek.NIP1 ... depending on the current context.