jeanette614
jeanette614
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?
Niall_O_Donovan
Niall_O_Donovan
05-07-2011
Hi,
Of the other two objects, is one of them a numeric field or a decimal field?
Niall
jeanette614
jeanette614
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
>
Niall_O_Donovan
Niall_O_Donovan
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
jeanette614
jeanette614
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.
Niall_O_Donovan
Niall_O_Donovan
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.
I will try and get to it when I can.
Niall
jeanette614
jeanette614
07-07-2011
I have it on Acrobat.com at:
https://acrobat.com/#d=-nMDe8VvTlW-hEGNfmLfzQ
It's called "For Niall"
Thanks, Niall
Niall_O_Donovan
Niall_O_Donovan
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
jeanette614
jeanette614
07-07-2011
Ok, i've got it now. Here it is
jeanette614
jeanette614
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.