These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

XML Source Code question

johnmolina
Registered: Mar 27 2008
Posts: 76
Answered

Good day,

I reviewed my source code after creating a form with several drop down lists.

the code is more than 700,000 lines.

many of these lines are

<?templateDesigner StyleID aped3?>

can someone please tell me what this is for? I believe it may be tied to my drop down lists, but do no understand why so many

thank you.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This is a processing instruction to LiveCycle designer and I'm pretty sure that it doesn't affect actual real time operation of the form. But I'm not too sure. Save a copy of the form and then delete all of these lines out of the XDP. Reload the form and turn it into a PDF, then see what happens.

I tried deleting these lines on a test form and didn't have any problems.

You're not the only one to have this issue a search on google turns up several unanswered complaints on other forums. And a search on

http://community.adobe.com/help/search.php

turns up even more interesting info.

It looks like this may be a bug, but it's definately a real problem.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

diegoap
Registered: Apr 4 2008
Posts: 52
Well, I had the sabe problem. I my case my form has 11 pages, and I was unable to see the XML source by clicking on the tab. Once I got the source, I saw about ONE million occurrences of this "<?templateDesigner SytleID aped3?> ". After I removed all these occurrences effectively the form become more fast when opening on Reader.

Diego Silva
http://diegosi.wordpress.com

NEILTOBIN
Registered: Sep 28 2010
Posts: 2
Calculations in an order form.
I am new to this so if I am not posting correctly please advise.
I am trying to set up an order form with a calculation.
text box 12= (to textbox 1 * 1.5) *.2
How do I complete this equation? I have tried both the simplified and the custom calculation options with no success.
Any help would be appreciated
Neil Eating New Creations
neil [at] eatingnewcreations [dot] com
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi Neil.....,

Assuming the field for entering a value is named TextBox1 (best practice is to use no spaces in field names) and the field with a calculated value is TextBox12, in the Calculate tab "Simplified Field Notation" for TextBox 12 enter
(TextBox1*1.5)*0.2

There are many great tutorials in the Learning Center here on basic Acrobat JavaScript. One is titled something like "Not So Basic Calculations in Acrobat" but since you are new to PDF forms you shoudl peruse all the titles for areas of interest in completing your form.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
NEILTOBIN
Registered: Sep 28 2010
Posts: 2
thanks for the help it worked.
your advice is much apprecitated