Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Designer
Viewing all 16286 articles
Browse latest View live

Can i get help with buttons that move thru a recordset

$
0
0

Good morning everyone,

 

Again I find myself needing some expert advice from you guys on how to setup a button on my form that would allow me to cycle thru a recordSet that exists thru a data connection I created.

Right now the dataset is there, but I can not see pass the first record.

 

I would like to create a front and back button that would allow me to cycle thru that recordSet, any ideas on how the code for that would look like?

any help on this will be greatly appreciated yet again

 

Thanks

 

Patrick

 



PDF Signatures - Error Message

$
0
0
When signing a PDF signature field component, results in the following 3 error messages after each other (text correctly shown, spaces and all)

1) The FieldMDP expression for this signautre is invalid

> After clicking on OK on 1), i get the next err message

2) Creation of this signature could not be completed.
Unknown error
Support Information: CSigField-1013

> After clicking on OK on 2), i get the next err message

3)The document could not be signed.
There was an error when attempting to commit this signature. The document was not saved.
The save operation was cancelled.


Any takers?

Thanks in advance for any help

how to get dropdown selected value

$
0
0

I'm trying to set up a form so that a text field will populate with dropdown value.

 

to bind dropdown i am using sqlserver database.

 

i tried this but it is not working :-

var sNewSel = this.boundItem(xfa.event.newText);

and

var sNewSel = $.boundItem(xfa.event.newText);

this code works if drop down bind eith XML source but does not work if dropdown bind with sqlserver data base

 

Please help.. Thanks in advance

When using floating fields in my forms it never work...

$
0
0

Hi there,

 

I've tested so many times floating fields in many different forms. Some old forms I created are working, but lately new forms are just not working at all.

Form Properties -> Defaults -> Choose version to run form in : Acrobat and Adobe Reader 9.1 or later.. (I did this)

 

When using floating fields in my non-testing-forms, they never work... I am using Calculate event to put the value inside the hidden floating field with the following code:

var resStream = Section1.frmSectionB.frmWorkStatement.frmResourceReq.resolveNode("frmResources["+ this.parent.parent.parent.index.toString() +"]").frmStream.ddlStream;

 

this.rawValue = resStream.getDisplayItem(resStream.selectedIndex);

 

Using those two lines are working perfectly, I'm getting the value wanted in the hidden floating field, but the Label is not displaying the value!!!

If I insert a line of code in the Calculate event which transfer the value in the label like the following :

lblStream.rawValue = resStream.getDisplayItem(resStream.selectedIndex);

 

It displays the value as I want... But I am tired of wondering why my floating fields never work in my forms..

By the way I've managed to make floating fields work in a blank form just for testing, but when it comes to real forms it just doesn't want to cut it...

 

 

If anyone would have any idea why it's behaving like this, I would appreciate any tries!!

Thanks for reading, waiting for your thoughts!!

Hiding "click to sign" text in the signature field.

$
0
0

I am having some issues with being able to hide "click to sign" text in the signature field after the form has been signed. Currently, once the form is signed, the "click to sign" text does not hide. Rather, overlapping text occurs from the text field and the signature field. I am currently using Adobe LiveCycle ES 4.

 

 

Thank you in advance,

 

Izzy

ADOBE FORM for SAP - where is the documentation

$
0
0

Hello Everybody,

 

 

I started to work with adobe form for two weeks now.

And i am wondering something since two days where is the documentation ?

On adobe forums, we find a quick FAQ.

On SCN there is some documentation.

 

But where is the official or/and most complete documentation ?

 

Is the full documentation given when you buy the adobe product or is there a full on line documentation ?

 

 

Best Regards

Abdou

Can't Edit Text- LiveCycle Designer 8.0

$
0
0

I've been using Livecycle for years and I've always opened up certain documents, edited the text, field boxes, etc.

All of a sudden, I go to edit a PDF in Livecycle (same pdf that I've always edited) and everything is locked. I can't delete, add text, move fields, nothing... It seems that the whole page got locked somehow. Any ideas on how to get it back to normal so that I can make edits? I'm using Windows Vista, Adobe Acrobat 8- Livecycle Designer 8.0.

Thank you!

Best way to insert Degree symbol?

$
0
0

Hello,

 

I have an inspection form set up for restaurant/health inspectors.    Often times during an inspection they need to enter temperatures of food and like to use the degree symbol.    They're running this form on a convertible tablet pc, so a normal keyboard is not available to them in tablet mode and when in laptop mode using the combination of ALT+0176 that's still a PITA because the keyboard doesn't have full number pad and the people using this form aren't the most computer literate people out there to be able to activate the Function keys to endable number pad keys and then enter an ASCII code many times during an inspection.

 

I was looking for suggestion on how to inforporate something into the form to assist in entering the degree symbol in any text field they are in at the position of the cursor.

 

The idea's I've though of are:

 

1.) A command button that inserts the symbol, but I'm afraid clicking the button would lose focus of the destination field and there'd need to be a lot of scripting to remember which field was the last one they were in to insert it in the correct one.

 

2.) A Button or On Load event which somehow inserts the degree symbol into the Windows clipboard, but during the course of an inspection they might copy and paste something else thus clearing it out.

 

3.) Some kind of auto-replace of text.  Not sure if that's possible in an adobe form.  E.g. if they type 'deg.' have the form auto replace it to '°'.

 

4.) A special key press.  Not sure if Adobe can listen to a special key sequence not used by Adobe and Windows, say CTRL + D which when pressed inserts a degree symbol in the current location.  

 

5.) Any way to place a special icon on Adobe's tool bar to insert the degree symbol at the currently location?

 

 

Those were some ideas I'm thinking of.  Many are probably dead ends.   If you had this problem, how would you approach it?

Thanks!

 

-Mike


How to delete one row from more than one table in different pages...

$
0
0

Hello community,

 

I have a problem... I have a table where I can create severeal rows. For each row the program creates one page with the table inside. I have also create a button to delete the last created row. The programm deletes than the created pages but concernig to the table, the programm only deletes the last row from the first page... how can I solve that?

 

A visual description.. I create a table with the button add field so I have:

 

field 1, field 2, field 3

 

with this comando will create 2 more pages with the table so that I have

 

page 1 with field 1,2,3

page 2 with field 1,2,3

page 3 with field 1,2,3

 

I decide to delete field 3, so I become:

 

page 1 with field 1,2

page 2 with field 1,2,3

 

what I want to have when I delete field 3 is:

 

page 1 with field 1,2

page 2 with field 1,2

 

Do you have any Ideas?

 

Thank you very much and have a nice day!

Issue with embedding fonts

$
0
0

Hi,

Using Livecycle Designer ES, I've built a form for a client. And they have insisted on using a specific, non native font (DIN, in all it's flavours). This is a TrueType font.

In the form properties, I have selected "Embed fonts". There are also other fonts like Wing Dings etc...

When the form is opened in Reader (9.3), and you look at the Document Properties, under the Fonts tab, all the fonts, except the DIN fonts have "(Embedded)" next to them. The DIN fonts All have 2 extra entries, namely "Actual Font: Adobe Sans MM" and "Actual Font Type: Type 1".

Does anyone have an idea as to why these specific fonts cannot be embedded?

Thanks,

Eric

Adobe LiveCycle Designer ES4 Need help with JavaScript Ref. Subtracting Time.

$
0
0

We have used the form Brake log sheet I created in Adobe Acrobat XI Pro with the current JavaScript to subtract time and it works fine.  I am still trying to learn JavaScript language so please be patient with me. I would like to create the form in designer but need to get the script working.  I imported the Acrobat form into Designer for the time being and as i have read you will have to correct some of the JavaScript but when i run it I receive no errors and it does not work so i do not know were to start working.  I would like someone to take a look at it and please help me on it.

 

I don't see a way to attach my PDF so ill insert the code i have.

Under Variables

function Num2sTime

function sTime2Num

function SupressZero

function Time2Num

 

Num2sTime


function Num2sTime(fValue) {
// convert minutes to HH:MM string
fDiff = Math.round(Number(fValue) / 60);
// get hours from fDiff
fHours = Math.floor(fDiff / 60);
// get minutes less than hour from fDiff
fMins = Math.round(((fDiff / 60) - fHours ) * 60);
// format fMins with leading zero
sMins = util.printf("%,302.0f", fMins);
// build display string
return fHours + ':' + sMins;
}




SupressZero


function SupressZero(sValue) {
if(Number(sValue) ==0) sValue = '';
return sValue;
}




Time2Num


function Time2Num(sFormat, sTime) {
/*
convert time string (sTime) with format of sFormat
to the seconds since the start of the day
*/
if(sTime == '') return ''; // exit
// get date time for Epoch date and sTime
var oTime = util.scand('mm/dd/yyyy ' + sFormat, '01/01/1970 ' + sTime);
// convert UTC Offset to milliseonds for adjustment
var fTZOffset = oTime.getTimezoneOffset() * 1000 * 60
// time since the start of the day in millseconds
var fTime = oTime.valueOf() - fTZOffset;
// convert to seconds and return value
return Math.round(fTime / 1000);
}


sTime2Num


function sTime2Num(sValue) {
if(sValue == '') return 0;
var aValue = sValue.split(':');
return (aValue[0] * 3600) + (aValue[1] * 60);
}

 

and in my calculate script were i place in the text Field Total_TimeRow1

event.value = '';
var sStart = this.getField('Time OutRow1').value;
var sEnd = this.getField('Time InRow1').value;
if(sStart != '' & sEnd != '') {
var fStart = Time2Num('HH:MM', sStart);
var fEnd = Time2Num('HH:MM', sEnd);
var fEnd = Time2Num('HH:MM', sEnd);
var fDiff = fEnd - fStart;
fDiff = Math.round(fDiff / 60);
fHours = Math.floor(fDiff / 60);
fMins = ((fDiff / 60) - fHours ) * 60;
sMins = util.printf("%,302.0f", fMins);
event.value = fHours + ':' + sMins;
}

I'll insert the pdf is someone can tell me how.

Thank you all for your help in this matter.

Is it possibile to add dynamic piechart on PDF form

$
0
0

Hi

 

I am trying to create a calculation PDF form. This form is doing several calculation. I need to plot/draw/create pie chart based on the data entered on form.

 

Is this is possibile using Adobe LiveCycle Designer?

 

How can i do this task?

 

 

Thanks in advance.

 

Thanks,

Victor

Internal error when using doc.importXFAData

$
0
0

I have a XFA form created in LiveCycle (not by me)... and I've created a custom menu item that exports a .xml file upon clicking.

 

I've created a second menu item that imports a specific xml file into the report, however it is returning "An Internal error occurred"  BUT it also properly imports the data too.

 

There are 3 folder level trusted javascript functions being used in order to do this. I have 2 specific questions:

 

1) Can you spot why I'm getting an error using the code below (import.js)?

 

2) Is it possible for Acrobat to "wait for" an xml file to be created on the desktop before importing automatically. Ideally I'd only create one menu item which performs two functions: exports the xml file and then WAITS until a specifically-named .xml file appears in a given directory, before automatically importing it into the form.

 

Thanks a lot.

 

CODE:

 

1) menu.js (creates two menu items, Export and Import).

 

app.addMenuItem({cName:"Export", cParent:"Edit", cExec:"event.target.myTrustFunct(event.target)"})

app.addMenuItem({cName:"Import", cParent:"Edit", cExec:"event.target.myTrustFunctTwo(event.target)"})

 

2) export.js (working without errors)

 

var myTrustFunct = app.trustedFunction(function(doc)

{

     app.beginPriv();

        doc.exportXFAData({

          cPath:"/c/Users/ME/Desktop/savedForm.xml",

   bCopy: true,

          bPromptToOverwrite: false,

          bXDP:false

                  });

     app.endPriv();

     return;

});

 

 

3) import.js (causing error despite successful import)

 

var myTrustFunctTwo = app.trustedFunction(function(doc)

{

     app.beginPriv();

  doc.importXFAData({

          cPath:"/c/Users/ME/Desktop/Filled_In.xml"

                  });

     app.endPriv();

});

How to install trail version of adobe Lifecycle suite

$
0
0

I am getting Adobe Life Cycle Designer trail version alone. I would like to install trail version of Lifecycle suite itself.

Where to get the download version

Automatic font size reduction in a PDF form

$
0
0

Hello everybody!

 

I'm working with SAP.

 

On my current project I would like to implement a customer form via Adobe Lifecycle Designer.

 

I'm going to ask a developer to implement the following logic:

 

There is a fixed rectangular area in the form. This area should represent a text.

 

In case of long text I would like to reduce the font size to fit the text into the area. It should look like that

http://lh4.ggpht.com/_cAQDpIBg5Bg/S3glj2MIo6I/AAAAAAAAAIk/SN9vEwOEYCY/scale.jpg

Text alignment within the area is Horizontal Centered, Vertical Centered
Text wrap is on
Font is Arial, initial size is 10

 

Is it possible to implement?


JavaScript Console Problem (only in LS preview mode)

$
0
0

Hello,

my JavaScript console "crashes" in preview-mode in lifecycle designer. It just appears for a "millisecond"´, well I see it flicker at last.

It doesn't matter if there is a syntax error or if I try to start the console by clicking a button ( Event click => console.show(); )

The console just flickers.

If I save the pdf file everything works fine. Console shows up on errors or if it told to do so (e.g. my button is clicked).

I cannot afford to save the pdf-file every time for some reasons (livecycle designer is used in sap gui, I have to run the whole process to get the PDF ...)

By the way, the same problem is present in Livecycle Designer if I use it "native", not called from within the sap.

 

I have already tried to close the acrobat reader tasks. There are two of them, when adobe reader 10 starts (native or in livecycle-preview).

But by closing one of the tasks, the second one closes, too. Therefore there is no help this way.

tasks_after_adobe_reader_starts.JPG

 

I use Adobe Lifecycle Designer ES 8.0 (8.01.2008.1.380548) and Acrobat Reader X (10.0.1)

The PDFs output in LS is set to Acrobat 8 (dynamic)

In Acrobat Reader javascript console/debugger is set as active, as well as to show errors etc.

 

 

It might be a problem realted to sap gui.

I just ran the pdf-preview in sap gui. And Console didn't show up again.

sap1.JPG

sap2.JPG

 

I have saved the same document from the sap print-preview on my local hd drive. Then started it with adobe reader and everything worked just fine.

Please do not blame sap only. As I have told before: the same problem occurs if I use livecycle designer "native", not within sap gui

 

XFA form with button to save file with unique filename

$
0
0

Is there a way to save a file with a unique filename using some data a user has entered (name, for ex.) that will fire when the user clicks a Print button? Attached is a file for reference.

Add new instance to the top of next page

$
0
0

I have created a dynamic flowable form (a daily report form for workers to fill out), which could (depending on user entries) expand over several pages. I have added a "Add new day" button at the bottom of the form, which, as it says, adds another day to the form. However, I can not get the new instance to to move to the next page, it is just created immediately after the previous instance.

 

I have tried all the suggestions from other help threads, but I still can't make it work. Either the form creates a blank page that I do not need or it continues to add the new instance just below the previous one.

 

 

Any help would be greatly appreciated.

At least one required field was empty on export. Please fill in the required fields (highlighted)

$
0
0

"At least one required field was empty on export. Please fill in the required fields (highlighted)"

 

I'm tearing my hair out with this one. Have checked all the fields to confirm if I had set the Type as User Entered - Required. Can't find any such field. Any help would be appreciated. Is there an email id where I can send the form?

Palette menu buttons

$
0
0

LiveCycle keeps telling me that form objects are using features not available in the target version, and I should review details in the Report palette. Every bit of online help I can find tells me that I can open the Report palette using the Report palette menu button, but I can't find a Report palette menu button anywhere on my interface. It's probably right under my nose, but it's eluding me very effectively.

Viewing all 16286 articles
Browse latest View live


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