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

Shrink pdf optimize not working

$
0
0

I have a pdf form created in LiveCycle.  It has 14 fields, 1 signature, and 2 buttons (reset and submit with jave) it is a very plain document no fance shading or boarders.  It is about 1/2 MB, i need to make it smaller the word doc it is replacing was only like 80KB.

 

I tried going to Advance > PFD Optomizer but I get the following error

 

"This pdf document contains adobe xml form. such files cannot be optimized"

 

I need to be able to fix this using Adobe pro or LiveCycle I dont have access to any 3rd party softare.

 

 

Thanks


Need output data to flow down then start again at top (populate two columns)

$
0
0

Greetings,

I'm creating a form which will be used as an output. It is an itinerary where various flight details are presented on a leg-by-leg basis.  Part of the leg-by-leg data is the list of passengers, anywhere from 0-45 names. I need to display them in two columns, with their passenger number.  (Number 1, number 2, number 3.)  If there are 24 names to display, I need to display two columns of 12 names each. In column 1 I should have passenger numbers 1-12 and in column number 2 I should have passenger numbers 13-24.  If there are 45 names, I need a column of 23 names and a column of 22 names, oneblank cell under the 22nd name is acceptable.

 

I currently have a form which shows 2 names in a row, and repeating the rows until I run out of name data. The problem is, this method means the passenger number is 1 then 2, in th next row I have 3 then 4, next row is 4 then 5, which is awkward at best.

 

My data elements are allthe same, that is, my pinding for every passenger name is the same, as is the binding for every passenger number.  I relly on the repeating row functions to create the correct number of rows.

 

The first table shows what I have already.  

 

Pas #Pas NamePas #

Pas

Name

1Bill2Jasmine
3Syd4Neo
5Lee6Smith
7Heinrich8Bastian
9Alex10Rodrigo

 

Second table shows what I am trying to get to.

 

Pas #Pas NamePas #Pas Name
1Bill6Smith
2Jasmine7Heinrich
3Syd8Bastian
4Neo9Alex
5Lee10Rodrigo

 

Any suggestions on how to make this happen are most appreciated.  I can send my file if it helps,  I am also getting extra blank pages, but I'm just trying to solve one problem at a time!

 

Thank You,

SwimRunFish

Placing objects side by side (row) in a flowable parent form and changing table header color

$
0
0

Hi,

 

I am building a flowable form that has a table with add rows button. I have company logo inside the parentform and I want to place drop down to the right of the logo but I cant place it rather it moves below the logo. Even if I try to move the dropdown it keeps sticked to the left.

I also want to change the header of the table, but I can only see the options to change the rows color alternately.

Please help me out.

 

Thanks,

Yogi

Button to export xml - using "xfa.host.exportData("",0);" ?

$
0
0

I cannot seem to make this work - does this functioanly still exist?  I need to simply get data to export from reader so I can import it into excel.

 

Thanks in advance.

Is it possible to set "Horizontal Scale" dynamically?

$
0
0

Dear All,

We have a Text Field in a form defined with:

-Limit Length=ON

-Max Chars=8

-Limit Length to Visible Area=ON

-Horizontal Scale of Text=70%

 

When we output a text with 7 characters only 6 will show.

But if we change the Horizontal Scale to 68% all 7 characters are printed.

 

Q: Is there are way to dynamically adjust the Horizontal Scale of Text

to the number of characters being outputed? Any ideas?

 

Many Thanks and Best Regards,

Daniel

Hide Table Sections Based on User Inputs

$
0
0

I have linked my form below. I am trying to script the "Hide Closed" button. I want to hide all of the instances of the "ActionItemGrp" table sections when the user has entered a date in the "ClosedDate" field. I tried the following script but can not get it to work.

 

Form1.ButtonsPage.HideClosed::click - (JavaScript, client)for (var a=0;a<Table1.ActionItemGrp.instanceManager.count;a++){for (var b=0;b<Table1.ActionItemGrp.all.item(a).Table1.ActionItemGrp.Row5.instanceManager.count;b++) {  if (Table1.ActionItemGrp.all.item(a).Table1.ActionItemGrp.Row5.all.item(b).ClosedDate.rawValue!==null)   Table1.ActionItemGrp.all.item(a).presence = "hidden";}

 

Link to my file on WeTransfer:  http://we.tl/bmZjwdb52u

Help is apprecaited...

Is it possible: Previously entered data/text is recalled as you type

$
0
0

Hi Everyone,

 

I created a form using livecycle for our Nursing staff. They use this form to do their assessments on patients.

 

The form has many questions that have repeated answers (ex, most patients have same diet restrictions....same safety restrictions).

 

I'm trying to see if Adobe can add this function into the form field:

 

As the nurse would type an answer into the form field, let's say the Diet Restrictions question.......Adobe would "recall" the previous data that the nurse already typed in before in this field instead of the nurse finishing to type this response herself.

 

So, let's say the nurse puts in a "low sodium" diet in the Diet Restrictions question....next time she opens the form and goes to the same question...and just puts in the letter "L" ....the software would automatically filter and put "low sodium"

 

Is this possible?

 

Please help....

Save pdf with new instances of subform

$
0
0

I have a pdf saved as Dynamic XML Forms with typical button to add instances of a subform.

 

The form works fine, but the problem is not show the added instances after save and open.

 

Can someone tell me how to solve it?

 

 

Attached a example.

https://www.hightail.com/download/elNJblRwY3k5eFZjR05Vag

 

 

Thanks in advance


down box to display a list of the items based on what was selected in another drop down box

$
0
0

I need help with making this work.  I have a form with two drop down boxes: Model and Options.  I need to display only those options that are available to the model's in the downdown list.  For example, Model  #123 has 3 options available of 1 Year, 2 Year, and 3 Year

but Model #456 has 2 options available of 3 Year and 4 Year.

How do I get the Options drop down box to display the correct avaliable options based on what was selected in the Model dropdown? 

 

I sure could use the help!  Thanks.

Dynamically populating a text field on the Master Page

$
0
0

I'm trying to populate a text field on the Master Page of a form by having it populate as a user types data into a text field in a content area.  So far, I have it populating when the user puts the cursor into the Master Page text field and then leaves that field after typing data in the text field in the content area.  I want the text field in the Master Page to populate as the user types in the text field in the content area, so it looks like both fields are being filled simultaneously.

 

The script which now populates the text field in the Master Page is

this.rawValue = MNPD.Form130.Page1.CSIInfo.CPN.rawValue;

 

This script is in the Enter, Exit, Calculate and Validate events of the Master Page text field.

 

I suspect that I am not correctly referencing the Master Page text field when trying to put a script in the content area text field events.

 

From the Hierarchy, the Master Page text field is   MNPD > Master Pages > PageArea1 > CPN and the text field in the content area is

 

MNPD > Form130 > Page1 > CSIInfo > CPN

 

I have tried putting the following scripts in the exit event of MNPD>Form130>Page1>CSIInfo>CPN and they have all failed:

 

MNPD.#pageSet[0].PageArea1.CPN.rawValue = this.rawValue;

 

MNPD.pageSet[0].PageArea1.CPN.rawValue = this.rawValue;

MNPD.pageSet.PageArea1.CPN.rawValue = this.rawValue;

 

I even tried renaming Master Pages to MasterPages and replacing pageSet with MasterPages and that didn' t work.

 

How does one do this?

 

 

 

 

 

Run JavaScript passed in via form data.

$
0
0

Ok I am in SAP.

 

SAP populates some hidden fields. 

 

so now the field, well say fieldX has the rawValue = sectionX.fieldY.presence = "open"'

 

xfa.host.messageBox("test " + fieldX.rawValue);

********popup says************************************

test sectionX.fieldY.presence = "open";

***********************************************************

 

Now I want to take this code in fieldX and actually make it run. 

 

I was doing this in a scriptObject section I created.  The function I created sees the value of fieldX, but I don't know how to make it run the code stored in fieldX.

 

thoughts?

How to conditionally show sub-forms depending on a data connection file?.

$
0
0

Hi, let say I have a form that shows a car specification and consists of N parts (sub-forms):

 

part I

part II

part III

...

part N

 

Those parts are sub-forms, and given a specific xml data connection file, I need to show the parts if and only iff certain elements of that xml exist or not. Let say, part II is called: "airbag", but if the car doesn't come with airbag (in the xml the airbag section doesn't exist) then the subform should not appear.

 

How can I do this?.

 

Thanks!.

How I can defence PDF forms vs Infopath forms?

$
0
0

Recently my IT Department will Introduce Share Point and Infopath Forms.

 

We use a lot of PDF dynamic forms and I do not want all this work to be waste or replace with infoForms!

 

My question and I need your HELP please is:

 

1.  PDF form can work inside Share point?

 

2.  How I can defence PDF forms vs Infopath forms?

 

Thank you

How to restrict Ctrl+S key

$
0
0

Hi All

 

I have designed editable form in Adobe live designer.Here in a button click i am validating some fields as mandatory. So problem is i need to restrict user to restrict ctrl+s key without fill mandatory field. same way i should allow to user to save by File menu also. Is there any way to do. i found this command to restrict user ctrl+s key event.target.dirty = false; i want to know what is use of this command. Thanks in Advance !!

 

 

 

 

Regards,

Ganesh

Help with writing Javascript to uncheck checkboxes.

$
0
0

New to Livecycle and Javascript so any help would be appreciated.

I created a form with a table of about 35 rows that consist of various interview  questions. From this list an interviewer would check which 5 questions they plan on asking, click a button and it hides the unchecked boxes, then they can print out the page with their 5 choices.  Then I would like them to be able to click a button and reset the form - showing again all of the checkboxes and none of them selected.

 

I have created a simple javascript to hide the rows of checkboxes that are not checked and then to also unhide them.  The problem is when I unhide them, the 5 boxes I checked still show up as being selected (have an X in the box).  Would like some help on the javascript to uncheck these boxes.

 

I am new at this and I know there probably is an easier way to accomplish it then my script.

 

Here is a snapshot of my form. Each question box is in a row with another row directly below it for data input

form.jpg

 

Here is the Javascript on the Show Checked Items button.

Button 1 hide.jpg

Here is the javascript on the Show All button

button 2 unhide.jpg


Accidental Endless loop on button

$
0
0

After much ado, I have finally gotten the customized submit by email button to work on several forms.  I added to a new form and now I have somehow created an endless loop and I cannot figure out why.  What I did: 

I added a regular button (not the submit by email button).  Under Object/Field I selected Submit.  Under Object/Submit, I selected submit as pdf.  I need to capture signatures on a form that will be audited down the road.

 

Then I added scripts.  I used java script, run at the client.

Then I added under PreSubmit* the following language:

 

 

var strToAddress, strCCAddress, strSubject

 

//Capture the values from the form fields.

strToAddress = txtToAddress.rawValue;

strCCAddress = txtCCAddress.rawValue;

strSubject = txtSubject.rawValue;

 

 

event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject,cSubmitAs:"PDF",cCharset:"utf-8"});

 

I checked this with the other forms which are not creating endless submissions and I cannot see that I did anything differently.  Can anyone help????

 

Sarah

Numeric Fields Locked in Read Only Despite Being Marked 'User Entered - Optional"

$
0
0

Hello!

 

The title hopefully just about says it all. I have one page which contains about 40 numeric fields (budget form) in a full form of almost 30 pages. For some unknown reason, this one single page refuses to allow the fields to be unlocked. In Live Cycle, each and every cell displays that it's "User Entered - Optional" in the value tab; but when I save it and open it in Adobe, the fields are protected.

 

I've even tried deleting all the fields on the page and starting from scratch, but the same thing keeps happening...

 

What have I done wrong?

 

Thanks in advance for the help!

facing difficulty in modifying the pdf files.

$
0
0

Hi All

I have designed a form in LiveCycle designer. http://forums.adobe.com/thread/1399755 from this thread i have one more query.i.e, when i am trying to modify the pdf file values modified values are not saving but validation are working fine. Could you please help me, in modifying the pdf values. Thanks in advance !!

 

 

Regards,

Ganesh.

How to access fragment fields from another fragment?

$
0
0

Hello, everyone!


I have a form, which contains two fragments. So the hierarchy of the entire form looks like that:

-MainForm

--Fragment1

--Fragment2

 

Is there any way to access fields of one fragment within another one? Or interact with MainForm fields from a fragment?

Help - Validation fails stop script

$
0
0

Hi guys,

 

I need help with some code.

 

I have created a form which users a normal button as a submit for e-mail. The reason I have done this is because the button pulls out info from the form and inserts it into the e-mail. All works so far. The form contains fields which must be filled in, however because i am using a normal button when it is clicked it seems to bypass the validation process.

 

I have inserted - if (topmostSubform.execValidate()) at the top of my script and added in the form properties turned on form validation. If I click the submit button now I get a warning message and the required fields turn blue. However, when I click ok on the pop up message the script runs anyway and the outlook draft box appears with the e-mail.

 

I would like to ask - how do i stop the script running if validation fails?

Viewing all 5571 articles
Browse latest View live


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