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

xfa.layout.relayout(); not working properly on two of four fields

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

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

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

05-07-2011

I have a contract that can be signed by four different departments with multiple people able to sign. I have used a text field where the signer can enter their name and have that name appear under the signature line, with their title.  I have used xfa.layout.relayout();  in the script, named the text field and it's appropriate output floating field the same, used global data binding and yet when I open the form in Acrobat, two of the fields work perfectly and the other two are giving me an error that they are expecting an integer and are showing a "1" in the text field and in the floating field below.

How can I fix this?

Replies

Avatar

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile
Niall_O_Donovan
Level 10

05-07-2011

Hi,

Of the other two objects, is one of them a numeric field or a decimal field?

Niall

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

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

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

06-07-2011

They are all text fields but those two that aren't working correctly give the error that they are expecting an integer not text when I type in them. I compared everything about the fields that work against the fields that don't and they are identical. That's why I turned to the forum for help.

> Date: Tue, 5 Jul 2011 13:54:16 -0600

From: forums@adobe.com

To: jeanetteeichhorn@hotmail.com

Subject: xfa.layout.relayout(); not working properly on two of four fields

Hi,

Of the other two objects, is one of them a numeric field or a decimal field?

Niall

>

Avatar

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile
Niall_O_Donovan
Level 10

06-07-2011

Hi,

Without seeing the form it is difficult to say.

The only other thing I can think of, is that there may be conflicting script or display/edit/data patterns.

Niall

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

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

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

07-07-2011

Please tell me how to post this form so you will be able to look at it and see why these two fields are expecting an integer. I even tried removing the fields and pasting in the ones that work and yet when I open it in Acrobat, a zero still appears in the fields.

I can't finish this form until these issues are resolved so please help.

Avatar

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile
Niall_O_Donovan
Level 10

07-07-2011

Hi,

You cannot upload files directly to the foums. However you can post your form to a file sharing site like Acrobat.com, publish it and then post the published URL here.

Acrobat.com publish.png

I will try and get to it when I can.

Niall

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

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

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

07-07-2011

I have it on Acrobat.com at:

https://acrobat.com/#d=-nMDe8VvTlW-hEGNfmLfzQ

It's called "For Niall"

Thanks, Niall

Avatar

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile
Niall_O_Donovan
Level 10

07-07-2011

Hi,

I don't have access to it. You need to specifically "publish" the form in Acrobat.com, so that I can use the link to access the file.

See screenshot above,

Niall

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

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

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

07-07-2011

Ok, i've got it now. Here it is

https://acrobat.com/#d=-nMDe8VvTlW-hEGNfmLfzQ

Avatar

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

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

Avatar
Validate 1
Level 3
jeanette614
Level 3

Likes

5 likes

Total Posts

129 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
jeanette614
Level 3

07-07-2011

And if you could please take a look at the 458SPA that's also published. That's the one with the scripting problem where I don't want the fields to show a negative number. If the result of subtracting the Asset Disregards from the Total Assets creates a negative number, show a zero in that calculated field below it. We've tried several suggestions but it still didn't work.

I'm really good at showing zeros in text fields where people are supposed to type their names.....LOL

Thanks for any help you can offer.