Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all 5571 articles
Browse latest View live

Problems with XML import to PDF form esp. checkboxes

$
0
0

I am posting this here because it was suggested to me to do so when I posted it here:
http://forums.adobe.com/message/5613723

 

Hi,

 

I work with a certain PDF form created by the US government. They recently "upgraded" the form. (N600K)

 

With the old form, I would import values in an XML file, which worked fine.

With the new form, I have encountered a problem:

The checkboxes behave as if they are ALL one group of radio buttons, which means only one can be selected at a time.

 

There are quite a few questions with checkbox answers. If I or my xml file select any one if them, the rest get cleared.

 

I have contacted the US government about this, but surprisingly, they have not responded.

 

If you are familiar with designing PDF forms and think you might be able to understand my problem and help fix it, i would love to hear from you!

 

Please email me at gidon.ariel @ gmail.com


function in a rawValue

$
0
0

The below script allows me to place a date from mm-dd-yyyy format e.g. 05-17-2004 into Month Day, Year format, e.g. May 17, 2004. I used a Script Object function to convert the date. However how do I run the function inside the textfield.rawValue =  without the script giving me an "undefined".

 

//Letter References Content

form1.Textfield.rawValue = "(a) Your previous Letter, RA-XX dated " + SOdateConverter.fxdateconverter(form1.Submissiondate.rawValue,LONGDAT E) + LONGDATE.value + "\n\n" + "(b) GPA LOA " + form1.loaTrackingnumber.rawValue + ", GPA Letter Number 10B-XX dated " + SOdateConverter.fxdateconverter(form1.loaDate.rawValue,LONGDATE) + LONGDATE.value + ".";

 

Better said this script outputs the folloowing

 

(a) Letter RA-XX-XXXX dated undefinedApril19, 2010

(b) GPA LOA N129EDPO, GPA Letter Number 104B-XX-XXXX dated undefinedMay 22, 2010

 

I want to remove the undefineds. I tried placing the function in brackets

{SOdateConverter.fxdateconverter(form1.Submissiondate.rawValue,LONGDAT E)}

did not work.

 

Any ideas?

Binding XML to Adobe Live Cycle - Nested Subform Repeat

$
0
0

I have a nested repeating subform. The nested subform  is repeating more than what it is supposed to do. Any suggestions appreciated.

 

Here is an example to explain it better -

For User1, form needs to render 3 instances of subform; For User 2, form needs to render 1 instance of subform. But 4 instances of nested subform is displayed for User 1 & User 2.

 

<test>

  <userid="1">

    <name>User1</name>

    <child>User Child 1</child>

    <child>User Child 2</child>

    <child>User Child 3</child>

  </user>

  <userid="2">

    <name>User2</name>

    <child>User Child 1</child>

  </user

</test>

 

Thank You.

Page number for dynamic XML for with multiple master pages

$
0
0

Hi Experts,

 

I am working on dynamic XML form (200 pages) with 5 master pages, they are of different sizes and orientation.

My query is to assign page numbers to whole document starting from page 7 till 200.

 

Can you help me with simple guidelines to do it.

Thanks in advance.

Handle special characters in xml

$
0
0

Hi,

  Our end users tend to copy the description text from Word documents to pdf form and submits it.

If that text contains any special characters, its getting carried to the extracted xml. In the next step, when I try to assign a task to user with template and this xml, Managers cannot able to open the form and showing the error. When I assign the xml without special characters, its running fine.

 

image1.jpg

 

Please assist on how to handle this?

My expectation is that user should be prompted in the form when he pastes any special characters or they should be auto-corrected to null values. if that is not possible, atleast we should able to filter the xml and eliminate special characters before the form go to next stage.

 

Appreciate your help.

 

Thanks,

Krishna

Imported Data different from Exported Data in XML

$
0
0

Hi, again =)

 

I'm making a dynamic xml form (pdf) in Livecycle ES4. It's a submission kind of form, the user fills it and submits.

The submission button is set up to send the xml data to a given email.

 

I have 3 dropdown lists in this form that work like this:

 

     The user chooses an option from the dropdown list 1 which filters the options of dropdown list 2.

     Then the user chooses an option from the dropdown list 2. This choice filters the options of dropdown list 3.

 

These lists have a lot of possible entries so I've set up a XML Connection which allows me to populate the dropdown lists easily.

 

Then, I've merged this two files (pdf and xml) using Acrobat Pro Extended and extended its features.

 

My problem is when the user submits the pdf.

The xml data file is the one I've made with the possible entries of the dropdown lists instead of the information the user enters in the fields.

 

I want to know if there's a way of making this possible.

Maybe by changing some settings or changing the data connection (imported data) from XML to other like Database.

Does anyone know how this works?

 

Thanks =)

Read excel from Acrobat Javascript

$
0
0

Hi,

 

Our requirement is to upload an excel from pdf form, parse it and display it in table format.

 

I could get the excel through upload button and the code is given below :

 

var myDoc = event.target;

myDoc.importDataObject({cName: sFile });

var rstr = myDoc.getDataObjectContents(sFile);

var vFile = util.stringFromStream(rstr, "utf-8");  

 

 

But when i print vFile variable value, it is throwing some junk characters.

 

 

Please help me in getting the excel data from particular sheet in excel.

 

 

Regards,

Sudha

How can i kill the Adobe Reader session right away?

$
0
0

Hello

 

I have developed an interactive form, my_form. And we launch / render this my_form in (ERP / SAP) application's portal IE browser, well.

 

Say, user opened this form, worked on it, submitted (we have our own submit button) and closed the window by clicking the top right corner's X button, but user is seeing stll the red Reader icon on the bottom bar, even thought the user is closed the window completely

 

If user try to close this reader red reader icon explicitly, user is getting the other exception popup as Runtime error as described here http://forums.adobe.com/thread/391738

 

Hence, am thinking to KILL the reader session right away the moment user closes the window, pls. let me know,

 

1) How can i KILL the reader session via JavaScript, is it possible?

2) if so, what the JS code i need to put and

3) in which event pls.?

 

Thank you


Aggregating exported XML data

$
0
0

I am familiar with the process for saving each XML schema received as a separate file and then using the Tools pane within Adobe Reader to merge these into a CSV file for use in Microsoft Excel. My organization is looking to create program enrolment/withdrawal forms and to send them to a generic email address for processing by a member of the administrative/clerical staff.

 

Give that ours is a very large organization, there could potentially be countless program enrolment/withdrawal requests coming in each month. Saving the data from each form submission manually, then selecting the XML files to merge seems a time-consuming process. Can someone tell me whether there is a simpler way to aggregate what could potentially be hundreds of XML schema? Automatic aggregation would certainly lift the burden we would otherwise be placing on our admin staff.

 

Thanks.

Random page breaking issues

$
0
0

I'm having a very strange case : I have a subform inside a table row.Tha table has a footer and header row.When I add more rows,it breaks pages sometimes and sometimes does not break and keeps rolling down to the bottom margin of the page.I have noticed that happens whenever when I add a new row,and that row starts right at the top of a new page instead of a middle.I'm attaching pictures for more specific .

1.it breaks pages

1.JPG

2.It overflows

2.JPG

How do I create a button that allows the user to check their form for errors?

$
0
0

Hi there,

 

I am using LiveCycle ES3.  I would like to insert at the end of my form (standalone form, NOT a web form) a button which allows the user to check their form for errors, then display a list of the errors and highlight the fields which have the errors.  Lastly, it should unhighlight these fields when the errors have been fixed. 

 

Also, within the form, if the user makes certain selections, they are required to include an attachment with their form.  I would like to make it so when they make selections requiring an attachment, a field is generated at the end of the form which lists out all of the required attachments.  Is this possible?

 

Thank you.

How do you initialize the content of a hidden page in a form?

$
0
0

I have an interactive form that is basically two forms combined into one.  As you proceed through the first form there are several points at which you may be directed to use the second form instead, and the second form automatically opens at that location.  My problem is I need to initialize the second form so that not all portions are visibile until questions are answered.  I have initialized the second form as hidden, but when it automatically opens, all of the questions are visible, and I only want some of the questions to be visible.

 

I can achieve my desired result by scripting the questions I want hidden at each point where the second form might open, but there are nearly 40 questions that need to be hidden at those points and this seems to be a very cumbersome and space consuming way to do it.

 

Is there a better way?

Dynamic field in master page header?

$
0
0

Is it possible to put a dynamic field in a master page header that will either pull from a hidden text field added to each subform (e.g., appID) or pull in the title of the subform itself?  I have a number of variable-sized subforms that need the same header and footer, with the only distinct element being a different number at the top.

 

I've been looking for a standard variable or wildcard that can be used to dynamically reference an object at the same level in multiple subforms, but so far have not been able to find what I need.

 

Hierarchy:

 

form1

     masterpage

     subformApp1

     subformApp2

Strange character issue in textfields

$
0
0

I've created a form in Livecycle Designer ES2 for a government company.

The form contains several pages with text fields, radio buttons and check boxes.

Also javascripts to enhance the form.

I've used their company font for static text and Verdana for the textfields.

 

My customer uses Windows XP (SP3) and Adobe Reader 10.1.x on all of their computers.

 

When they open the form and start typing text in the formfields something strange happens.

It looks like that if the first key they hit on the keyboard, directly after opening the form, acts strange in the entire form.

 

For example:

If the hit a letter "a" as the first key, after opening the form.

The letter "a" will be followed with one or several spaces through the entire form.

Also some letters shows on top of each other.

Outlook.jpg

 

I've tested the form on several other Windows XP computers with Reader 10.1.x and the problem didn't show.

The test where made on different locations and companies.

The problem only seems to exist on all of the computers of my customer.

 

Is there a known problem dat looks like this?

Maybe a third application is cousing this problem, but i don't know what it can be.

Anyone seen this behaviour before??

 

I recently upgraded to ES4 and exported the form using ES4, but the error seems to stay.

Is it possible to duplicate a row in a table and the values ​​entered by u

$
0
0

PDF LiveCycle Designer  : Is it possibleto duplicate arow in a tableand the values​​entered by the user?


get data stored in xml of pdf-form itself at the runtime

$
0
0

Hello,

I generate a pdf form with some data includet e.g. firstname = dave. personID = 12345.

all this data (import-parameter is a table) is "stored" in the xml of my form:

 

<?xml version="1.0" encoding="UTF-8"?>
<xfa:data xmlns:xfa="
http://www.xfa.org/schema/xfa-data/1.0/">

   <data>

      <IF_TABLE_PERSON>

           <DATA xfa:dataNode="dataGroup">

                <FIRSTNAME>Dave</RFIRSTNAME>

               <PERSONID>12345</PERSONID>

 

firstname is binded to a textfield therefore there is no problem to get it.

because it is a table i could get the value in several ways:

a) myFirstNameField.rawValue;

b) this.resolveNode("$record.IF_TABLE_PERSON.DATA[1]").FIRSTNAME.value;

 

The PartnerID must not be binded anywhere (no hidden fields!). The question is, how do i get the value of PERSONID directly from xml?

 

xfa.datasests.data ..... ????

 

 

Thanks!

Need help with bubbletip or something more clever

$
0
0

good morning,

 

I have a client that would like to be able to show some sort of buble tip data on a specific sentence on a form.

I though that maybe using the bubble tip for this might be enuff, but the text to be displayed is a bit to big so it doesnt look very good.

 

I dont really know if there's more then just one way to go about making this happen, but besides the tool/bubble tip approach, im not sure how to go about making this happen.

 

My only condition here is that it doesnt appear until they either mouse over or use a button or what everelse might work for this.

I saw that you can add a Sticky note on a PDF, but not sure if that can be applied to a LC Designer form. But that's a good visual on what i would like to get as my final result here.

 

Any thoughs idea on how i can provide extra info to a client and only when asked for it? (via a button, notes, etc)

 

Thank you very much,

 

Patrick

Instructions on how to create a "flattened" pdf from a LiveCycle Form

$
0
0

My company is working with a vendor who had requested that I "flatten" my LiveCycle created pdf so as to remove the XML data and interactivity from the form so it no longer has fill in fields. After much research I found a very simple solution and wanted to post it here because the discussions that I waded thru on this forum to find out how to do this process were varied and lengthy. But in reality, the solution is quite simple.

 

I opened my regular LiveCycle file in LiveCycle and chose "print" from the File menu. In the Printer Name drop down, I chose "Adobe PDF", clicked OK and then saved the form with another name. Now the form is not fillable, is compatible with older systems, and no longer has any "fill in fields" even when opened back up in LiveCycle as a "flowed" document. The text is editable but in small snippets instead of as paragraphs.

 

I thought I'd share this because you never know who might be looking for just this same solution. The funny thing is, I wish I had known of this earlier. The United States postal service is using Adobe Reader version 5 and couldn't open any of my pdfs. This might have helped us to be able to view the documents on their system. And I thought MY company was behind the times! Who knew?

Adding up values in a repeting row

$
0
0

I have a table that currently consists of 3 rows.

 

 

BagNumber of Items in Bag
A6
B12
Total

 

I have a button which allows the user to add more rows to the table, a maximum of 10 rows can be added.  I would like to be able to add up all the numbers, in the total cell.  How do I add up all the numbers for cells that do not currently exist?

 

For example:  If today I have 2 bags..Bag A has 6 items in it and Bag B has 12 items in it.  But tomorrow I have 7 bags, each with a different number of items.

 

What is the code I can write in my total box that will add up the number of items in a bag, for up to 10 bags?  What I don't want is all 10 rows static on the page, if the table only needs to consist of 2 rows, that is all that I would like to see, and I don't want a big gap (8 rows) between my values and the total box.

 

I can share my form if necessary.

 

Any help would be appreciated....greatly!

Add Instance Continue to Second Page

$
0
0

I have a subform where I am adding instances to.  Once page 1 is full i would like to have the instances continue to page 2. 

Viewing all 5571 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>