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

In SAP Byd forms can we change the field language to turkish using adobe livecycle designer?

$
0
0

Hi Folks,

 

I have a requirement where in we need to change a field language to turkish language instead of whole form language.

all the field language would be english but only field language should be in turkish?

 

I am using adobe livecycle designer V11.

 

 

Best Regards,

Navaneeth kumar.D


Lock Document After Signing

$
0
0

I have two dynamic forms that I am currently working on.  They both support multiple digital signatures and I actually copied the sub-form from one form to the other.  The digital behavior is different in between the forms and it is providing me some frustration trying to make them behave the same.  I really don't want to try the next thing that came to mind and delete all the content from the form with the checkbox and copy the entire form from the other file to see if that makes them work the same.  Please save me by giving me a Homer Simpson moment to say "Duh" now I remember changing  _____...

 

2519Sign.PNG2519Signs.PNG

 

On one form (See image on left) when I go to fill in the digital signatures there is NOT a Checkbox and the label "Lock Document After Signing" on each of the digital signature fields, the other form there is a Checkbox and the label "Lock Document After Signing" available.  The forms will be used in Adobe Acrobat Pro DC.

 

Where can that setting be found in XML/ AEM Manager/Livecycle to change this behavior either to remove or to add that choice on the digital signature functionality?

 

 

I cannot seem to attach the forms to the question so would be more than happy to provide a copy of both forms to anyone who would like to examine them.  I'm stumped, I've been playing with the various supported features of the signatures trying to make them show or hide and cannot seem to find the trigger/setting.

Click event of a button only delets one subform and after doesn`t work

$
0
0

The project is done in Adobe LiveCycle Designer in JavaScript.

I have an add button which adds one instance of a subform and a delete button which deletes one instance of a subform.

When i click delete it deletes only one subform. If i click it again it does nothing...What should i do ?

 

//form1.tabelAnexa.Row[1].veg2.veg1.prod.instanceManager.removeInstance(form1.tabelAnexa.R ow[1].veg2.veg1.prod.instanceManager.count-1);

_veg1.removeInstance(1);

 

 

var rd = frmO.caption.value.resolveNode("#text").value;;

if (frmO.rawValue == null){

app.alert("Mai intai trebuie sa completati campul: " + rd + "!");

xfa.host.setFocus(frmO);

xfa.host.openList(frmO);

}

else{

 

/*

   This button will Remove the current instance of the repeating subform or table row.

 

 

   bCalc: Flag - true if the removed instance might be referenced by other calculations, otherwise false.

   message: The error message displayed.

*/

var bCalc = true;

var message = "Ați atins numărul minim de elemente permise.\n\nVor fi sterse datele introduse in campurile acestui element!";

 

 

// DO NOT MODIFY THE CODE BEYOND THIS POINT - 10.0.2.20120224.1.869952.867557 - Subform_Instance_Controls_IRM.xfo.p4

 

 

var oWrapper = this.parent.parent; // The outer subform built in to the object, enclosing the button group.

var oTargetSubform = oWrapper.parent; // The subform or table row the controls are intended to manipulate.

var oManager = oTargetSubform.instanceManager; // Get the instance manager.

var nMinCount = oManager.occur.min; // Get the minimum number of subform occurrences allowed.

var nSubCount = oManager.count; // Get the current number of instances.

 

 

// Proceed if the minimum number of subform occurrences has not been reached.

if (nSubCount > nMinCount) {

 

// Invoke the Instance Manager.

oManager.removeInstance(oTargetSubform.index);

 

 

// Fire the form calculations.

if (bCalc == true) {

 

// Execute all the form calculations.

xfa.form.recalculate(1);

}

 

 

} else {

var raspuns = xfa.host.messageBox(message,"Remove Item",2,2);

if (raspuns == 4){

_prod.setInstances(0);

_prod.setInstances(1);

}

}

 

 

// END OF DO NOT MODIFY

}

ES4 JavaScript aktuelles XML ausleiten

$
0
0

Hallo Community,

 

ich versuche zur Zeit von einem PDF, welches ich mit ES4 erstellt habe, ein XML mit dem aktuellen Inhalt zu generieren.

 

Gibt es da eine Funktion oder ähnliches womit ich ein Array oder die aktuelle Datenstruktur in XML ausleiten kann ?

 

Ziel des ganzen ist es die Daten in ein ERP System zu laden. Das funktioniert in VB ganz gut...

 

Gruß,

Jamin

Copy data from one textfield to another text field with add instance subform

$
0
0

plz help me

when i try to copy data from one text field (present in add instance subform) to another text field (present in another add instance subform) it show only first object data in all textfield.

subform1.instanceManager.addInstance(0);

subform2.subform3.instanceManager.addInstance(0); (here subform3 present in subform2)

 

this.rawValue = subform1.textfield1.rawValue; (copy same data in all add instance)

 

its work well when textfield2 present in subform3 not in subform2.subform3

Specify Signature Certificate

$
0
0

Hi,

 

I'm trying to "Specify the Signing Certificates" for a signature field. I am able to add the .pc7 certificates. However, when I check the box for "Restrict signing to parties associated with the specified certificates", it does not stay checked after I hit Ok on the window. I will check on the Signature settings after hitting Ok and see that it is unchecked. It unchecks every time. I'm not sure what I am doing wrong. Any help would be appreciated.

 

Thanks

Validation / Reset Functions, easy to manipulate and to change Forms!!!!

$
0
0

Hello everyone,

 

I've just opened this discussion free to everyone to discuss about any easy way to validate / reset form fields.

I'm providing a development tool to be used in LiveCycle Designer with a new way to validate and reset forms in any ways. You can change the design of PDF Forms without having to change much code.

The validation function is to validate any field which returns null / 0

 

It is independent / self-responsive to the design of any forms. I'm working on the function to make sure it can work with any kind of settings set in PDF forms.

 

The objects which contains the functions are not to modify(unless you know what to modify), you can add any specific validation to your form by adding field/subform names in the exception arrays.

 

All your specific validation is to be inserted in the validate buttons. It is also possible to validate only a part of the form, 1 page, 2 pages or a subform only.

 

Instructions to use the functions are in the PDF Form to download below, take a look, feedback and questions are always welcome as well.

 

TemplateDesign_Validation_Reset_Form.pdf - Google Drive

 

Hope this will help some of you.

Mag

How can i define _TABEL_VENIT it already exists but it gives me an error

$
0
0

Hello, I am a newbie and I have a form that I`m working on and it gives me this error:

ReferenceError: _TABEL_VENIT is not defined

4:XFA:form1[0]:tabelAnexa[0]:Row[1]:veg2[0]:veg1[0]:prod[0]:frmO[0]:change

 

But TABEL_VENIT already exists...what can i do to repair the error ? Please help

 

This is the code that gives the error:

 

 

    _TABEL_VENIT.setInstances(0);

    _TABEL_VENIT.setInstances(1);


Dynamic Forms and Read Out Loud

$
0
0

Hi there,

 

I am using LiveCycle Designer ES4 with Adobe Acrobat DC on Windows 10.

 

I'm developing dynamic PDFs and I was able to make my PDF being readable after print / flattening my PDF using Adobe PDF Converter. But, I'm trying to make it readable while filling the PDF. Using Adobe LiveCycle Designer, I modify the information within the Accessibility palette to have Screen Reader Precedence to the appropriate value. Also I have the Form Properties > Save Options > Generate Accessibility Information (Tags) for Acrobat checked "On". But the only objects that are being read by the Reader is signature fields... all other pages have this "Warning - Empty Page".

 

So I created a new blank file with few objects in it, with the accessibility settings as mentioned above... and still nothing working. Anyone have any insights about this issue?

 

Dynamic forms don't support Read Out Loud accessibility

I seen this thread saying that dynamic PDF forms can't be read out loud by Acrobat... is this for real? Accessibility is only but useless with dynamic PDF?

Javascript to specify Adobe ID to signature field

$
0
0

I am having issues using the "Specify the Signing Certificates" under signature settings with the "restrict signing to parties associated with the specified certificates" box unchecking itself. 

 

I was wondering if there could be a workaround by using Javascript in the pre-sign event to designate which certificates can be used to sign. If the individual, who tries to sign it with a non-designated adobe ID, then they get an error message.

 

The signature certificate itself contains a serial number or key usage. Is there a way to limit the signature field to certificate serial numbers? Any help would be greatly appreciated.

Calculating subtotals/page totals

$
0
0

Hello;

I'm trying to calculate row subtotals and a page total within a repeating table (see below).

 

subtotals.png

 

What code should I be using for the Total Value column to total each row and then the Page Total row at the bottom to add up all of the rows in the Total Value column? I know the easiest way is with FormCalc but everything I've tried has duplicated the values from the previous row to the new row when the Add '+' button is clicked.

 

I appreciate your help.

Copy data from one table cell to another table cell problem

$
0
0

add  :

SF0.instanceManager.addInstance(0)

SF2.instanceManager.addInstance(0)

SF3.SF4.instanceManager.addInstance(0

i have a form in which 3 table present in three subform "SF0", "SF2" (SF2 Repeating Subform ) and "SF3.SF4"  (SF3 & SF4 Both Subform and SF4 Repeating Subform)

when i copy data from SF0.Table1.Row1.Cell1 to SF2.Table1.Row1.Cell1 by this.rawValue = SF0.Table1.Row1.Cell1.rawValue  work fine in all instance field

 

But when copy data from SF0.Table1.Row1.Cell1 to SF.SF4.Table1.Row1.Cell1 by   this.rawValue = SF0.Table1.Row1.Cell1.rawValue    only first value copy in all new add instance field.

 

 

plz helpUntitled.png

Where is the path for this error -- see description

$
0
0

Hello, I am working on a form and I have encountered this error and I dont`t know where to search for the line of the code, please help.

 

Error:

 

TypeError: form1.body2.id3 is undefined

13:Doc:Init

LiveCycle Designer ES4 crashes on Preview PDF

$
0
0

I am running LiveCycle Designer ES4 sp1, with Acrobat DC and Windows 10. I can preview a pdf in LCD but it will eventually just crash. This is regardless of whether it is a file I've worked on or a brand new file. I believe I can reproduce it by switching to Preview PDF (first time it works fine), go back to design mode then back to preview PDF and it crashes. If I switch to Reader, I can work with files without a crash.

 

The message is:

Adobe LiveCycle Designer has stopped working

A problem caused the program to stop working correctly.

Windows will close the program and notify you if a solution is available.

 

I tried removing the AppData but that did not solve the problem.

 

 

UPDATE:

I have uninstalled Acrobat DC 3 times, cleared the AppData, removed fonts, however the problem still exists.

Beginner question

$
0
0

Hey Experts,

 

I have a dynamic table with 1 row which repeats. I want to change the value of a field in this row so if it is "On" make it show "Enabled".

 

I have written the following code and I put it in the initialization of the table but it doesn't work.

 

Can anyone help? What am I doing wrong? Where should the code go?

 

var rows = FormTradeReceivablesPayablesAccountStatementNotification.bdyPage1.tblOpenItems.tblTable1. resolveNodes(Row1[*]);

var row = rows.item(1);

for (var i = 0; i < rows.length; i++) {

     var row = rows.item(i);

     var dunning = row.DunningOn.rawValue;

     if (dunning == "On")

     {

         row.DunningOn.rawValue = "Enabled";

      }else{

         row.DunningOn.rawValue = "Disabled";

      }

}

 

Any pointers would be greatly appreciated!

Thanks

Christine


Why am I getting application/octet-stream error when I embed an image file in an image field?

$
0
0

Why am I getting"application/octet-stream" is incompatible with image content when I embed a jpg image in an image field?

 

What is incorrect in this function ?

$
0
0

I have this error:

 

TypeError: s.replace is not a function

68:Doc:Init

 

This is the code that generates the error:

 

function EL(s)

{

var sir = "";

sir = s.replace(/[&]/g,"&amp;");                            <<<---------------------- this is the error line

sir = sir.replace(/["]/g,"&quot;");

sir = sir.replace(/[“]/g,"&quot;");

sir = sir.replace(/[”]/g,"&quot;");

sir = sir.replace(/[']/g,"&apos;");

  

return sir;

}

 

I am a newbie in javascript and adobe livecycle designer...what is causing the error ? What should i do

Can I reference data values of XML directly in a script or must I use a field on my form?

$
0
0

Hello, please bear with me this is my first post, sorry if I missed any forum rules or guidelines.

 

I have been working on a form which has a Text object that combines [concatenates] the values of 3 floating text fields.

That's all working OK but I should only print this combined value if "some other node" in the XML is null.

 

I was thinking to place a short script in the 'prePrint' of the first floating field [because Text objects seem to have no events] which will check if this other XML node is null or not. If null, it would set the 'relevant = "+print"' property of the Text object itself, else it would set 'relevant = "-print"'.

 

 

1] Is this a correct approach please?

2] Can I reference a value from the XML source data in the script? [something like "if $.node1.node2 is null"] or do I have to create some hidden/non-printing field on my form to capture the value from the XML, and then my script references the value of this hidden field?

 

 

Many thanks in advance.

Populate second drop down box based on selection from first drop down box

$
0
0

Hello, I have a situation involving a drop down box with 9 items to choose from. What I want to do is depending on which of the 9 items the client chooses, this will determine what items are populated in the second drop down boxes (the items in the second drop down box will be mirrored on 9 other drop down boxes).

 

For example, my first list box would be titled Review Type and there would be MF, VA, FA, etc. If the MF was selected, then the 10 boxes below (all drop-downs) will be prepopulated with a specifc selection of topics and if they chose VA then another set of topics would be prepopulated.

 

Can you please point me out on the proper script to accomplish this? I don't have a xml/data source to connect to so I will be manually inputting the choices.  Thanks!

 

 

 

Header 1Header 2

Livecycle ES2 PDF form and Adobe Reader Data Connection.

$
0
0

Good Morning, I wrote a PDF Form with LC ES2 composed of several text fields and sign fields. This form is connected to MS Access Database via "Dataconnections" and it works fine within Adobe Acrobat. I've tried it in the Adobe Reader but it does not work. Is there any restrictions using the Adobe Reader using "Dataconnections"?

 

[Question moved to the LiveCycle Designer forum. -Mod]

Viewing all 5571 articles
Browse latest View live


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