I have two buttons on my pdf file. One that submits the form by proxy and another that prints the form (print form checks that the raw value of the fields is not null). I extended the form for reader.
In reader, when I either save the form or submit the form by email and reopen try to click print form it says that the required fields are not filled?
Also, empty fields are replaced by default values?
How can I fix this is there a recalculate or reset I need to do on document open?
Views
Replies
Total Likes
I forgot to mention that the values are actually visible on the screen, but it says they are not.
The values that were blank appear as the default value.
Views
Replies
Total Likes
You have to save the state of the form as well ...... on the File/Form Properties/Deafults menu make sure that you have the "Preserve Scripting Changes to Form" checkbox set to Automatic.
Paul
Views
Replies
Total Likes
It is already set that way
Preserve scripting changes to form when saved:
Automatically radio button is selected?
Views
Replies
Total Likes
It is doing the same thing in acrobat pro
If I open the document, enter a value for every required field then save the document, close and reopen the document and attempt to submit it, it says to enter a value for required fields.
Do I need to do something like
rawValue=default value when I open the document?
and I am not sure why fields that I am filling with "" automatically come back with the default value filled in?
Views
Replies
Total Likes
Can you send the form to LiveCycle8@gmail.com so I can have a look ....please include a description of how to reproduce the issue in the email.
paul
Views
Replies
Total Likes
sent
I added this line
xfa.host.messageBox("raw " + Header.Accession.rawValue + " edit " + Header.Accession.editValue + " format " + Header.Accession.
Views
Replies
Total Likes
All of those fields are set to global binding ...can you bind them to your schema and try it again?
Paul
Views
Replies
Total Likes
yes, I currently do not have them defined in the schema. It seems like
either adding them to my xml schema or setting the binding to none seems to
work ok.
However, it looks like I have to add that otherbox.rawValue=this.rawValue
for each field?
Why aren't global vars saved?
Views
Replies
Total Likes
Ok, I got that part working. The problem was that there was not an entry in
my xml file despite being in the schema.
Views
Replies
Total Likes
I have another question about the bindings. At the bottom of the form, I
have an order table that I am adding instances to.
I would like that to be bound to the xml schema as well. However, if I bind
that data it does not save new instances in the xml. Initially, I load the
pdf with a xml file to fill the ordering options. If I put multiple rows
in the xml it will adjust those if I change the data, but won't insert new
rows into the dataset. So, when I close and reopen the pdf the rows
disappear.
Views
Replies
Total Likes
Two things ...make sure that the fields in the table are bound and not set to None.....and second make sure that youhave set the "Preserve Scripting Changes to Form when Saved" to Automatically in the File/Form Properties/Default tab.
Paul
Views
Replies
Total Likes
I think I have it set that way. I have the 7 text fields bound to the xml
schema. There are a couple of columns unbound, but they do not contain an
input field.
Views
Replies
Total Likes
OK send the form and schema to LiveCycle8@gmail.com and I will have a look.
Paul
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies