since ‎14-04-2009
‎10-12-2019
Justin_Klei
Level 1
Re: CM Solution (ES3)...letter preview hangs
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
It says there is an error rendering the letter. Check the logs for the LiveCycle application server, the actual error is likely in there somewhere.

Views

701

Likes

0

Replies

0
Re: How to line break in a textbox
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
In Designer, go to the Data View tab. You should see a data connection. Right-click on the data connection and select "Connection Properties". The "Data Description Type" will tell you the type of data connection.

Views

5.4K

Likes

0

Replies

0
Re: How to line break in a textbox
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
I'm not familiar with the SAP integration, but I'm pretty sure it's using the LiveCycle Forms module to render the form.What type of data connection do you have defined in Designer? It has to be one of the following:XML SchemaSample XML DataData ModelWSDL FileOLEDB DatabaseI'm guessing it is 1 or 2, in which case the instructions I gave you above for exporting the XML data would still apply. You just need to make sure the data in SAP looks like whatever is in the exported XML file.

Views

5.4K

Likes

0

Replies

0
Re: How to line break in a textbox
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
What kind of data source...is it an XML or XSD?How are you populating the data into the form? Are you using LiveCycle Forms or LiveCycle Output?

Views

5.4K

Likes

0

Replies

0
Re: How to line break in a textbox
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Are you trying to write script to populate the line break, or do you want to know how to generate the XML that gets fed into the form so the line breaks will appear?The instructions I provided above will show you how to script it.If you want to know what the XML should look like, do this:Save your form as PDF (not XDP)Open the form in Acrobat Pro (if you don't have Acrobat Pro, download and install the trial version from Adobe.com)Fill out the field(s) in the formSelect Tools-->Forms-->More Form...

Views

5.4K

Likes

0

Replies

0
Re: How to line break in a textbox
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Apparently the tags are getting encoded when you try to set the rawValue of the field.Try this instead:var richTextValue = 'Line 1 of textLine 2 of text';xfa.resolveNode("TextField1.value.#exData").loadXML(richTextValue);

Views

5.4K

Likes

0

Replies

0
Re: How to line break in a textbox
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
If it's a rich text field, you can use an html tag.This is mentioned in the XFA Specification document: http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdf

Views

5.4K

Likes

0

Replies

0
Re: font formatting not working when values are passed to the form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Some questions:What is the placeholder form? Is it a LiveCycle form built with designer?How do the values get populated into the "REAL" form?Are you using LiveCycle Forms or LiveCycle Output to do this?Maybe if you can explain the technical details of the end-to-end process it would help...then I could at least give you some advice on how to debug the problem.

Views

444

Likes

0

Replies

0
Re: Why does my Adobe Dynamic XML Form (*.pdf) submit as data.xml
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Check the properties on your submit button. That is where you define the submission format.

Views

435

Likes

0

Replies

0
Re: Annual Leave Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
The reason start and end date shows nothing is because of this line: if (toDateAsNum > fromDateAsNum) thenThe calculation only runs if end date is greater than begin date. Change the expression to >= to get the desired result.

Views

492

Like

1

Replies

0
Re: Annual Leave Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
To add them all together, put this in your calculate script for the total field: $ = Sum( row1[*].workdays )

Views

494

Likes

0

Replies

0
Re: Annual Leave Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Add this to the calculate event for your workdays field (I also cleaned up the code a bit):var fromDate = Start_Date1var toDate = End_Date1if ( HasValue(fromDate) & HasValue(toDate) ) then var fromDateAsNum = Date2Num(fromDate, "YYYY-MM-DD", "en_IE") var toDateAsNum = Date2Num(toDate, "YYYY-MM-DD", "en_IE") if (toDateAsNum > fromDateAsNum) then var TotalDays = toDateAsNum - fromDateAsNum + 1 var currentDateNum = fromDateAsNum var dayCnt = 0 for i=1 upTo TotalDays do var dayOfWeek = Num2Date(curr...

Views

475

Like

1

Replies

0
Re: Writing in this format "9999999-99" without write the symbol "-".
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
You can ignore the warning. The display pattern will result in the dash being added when you tab out of the field, bringing you up to 10 characters in the field.To add the calculate event to your barcode:Click on the barcode fieldIn the script editor, select the "Calculate" event from the dropdown listAdd in the following code (assuming your comb field is named LANumber): if (LANumber.rawValue != null){ this.rawValue = LANumber.formattedValue;}else{ this.rawValue = "";}

Views

474

Likes

0

Replies

0
Re: Annual Leave Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
There's a problem with the calculate script where you're calculating the weekend days.The problematic line is this one: var currentDateNum = Date2Num(xfa.resolveNode("#subform.#subformSet.#subform[1].#subform[2].Table_SF.Table1.row1.Start_Date1").formattedValue,"DD-MM-YYYY")If you print out the value, you'll see that it is always set to zero.Change it to the following to fix the issue: var currentDateNum = Date2Num(xfa.resolveNode("#subform.#subformSet.#subform[1].#subform[2].Table_SF.Table1.row...

Views

469

Likes

0

Replies

0
Re: Annual Leave Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Post your form somewhere and it will be much easier to help you. It's extremely difficult to debug a problem with only an explanation of what is occurring.

Views

496

Likes

0

Replies

0
Re: chnge appearance of textField
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
As the linked forum mentioned, you can do it but it won't be easy.Why do you need to do this? What requirement are you trying to satisfy? There might be a better way to meet your requirement.

Views

377

Likes

0

Replies

0
Re: Writing in this format "9999999-99" without write the symbol "-".
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
You have 2 options...Create a single comb field with an edit pattern of 999999999 and a display pattern of 9999999-99. Add a calculate event to your barcode which will populate the barcode with the display format. this.rawValue = lanumber.formattedValue;Create separate comb fields for the first seven digits and the last 2 digits. Add a calculate event to your barcode field which concatenates the values together. this.rawValue = firstSeven.rawValue + "-" + lastTwo.rawValue;

Views

490

Likes

0

Replies

0
Re: tickbox
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
It's not clear what you're trying to do...What do you mean by watermark...is it an image?What is the box? Is it a checkbox? Why do you want to change it into a text box?Maybe if you explain the business requirements it will make more sense.One thing you can do:Add your watermark to the formPlace a checkbox over the top of the watermarkSet the appearance of the checkbox to "None" (this will hide the border around the checkbox and allow the watermark to show through)Set the check style of the chec...

Views

424

Likes

0

Replies

0
Re: Button presence in static PDF's
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Your syntax looks funny to me...are you even seeing the message box if you type an incorrect value? If not, then you have a typo.Here are some samples that should work:Javascript:-------------- if (this.rawValue == "password"){ form1.Page1.xmlSubmit.presence = "visible";}else{ xfa.host.messageBox("Please enter Administrator password to access XML Submit");}FormCalc:------------- if (form1.Page1.TextField1 == "password") then form1.Page1.xmlSubmit.presence = "visible"else xfa.host.messageBox("Ple...

Views

394

Likes

0

Replies

0
Re: JavaScript function deletes previously entered data
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
I see two things that are problematic:In general, you should try to avoid putting fields on a master page...you can sometimes experience unexpected results when you do. Move your table to the body page instead and your problem will go away.All of your fields are set with binding of "No data binding" (Object-->Binding-->Data Binding). As a result, if you save your form, close and re-open it, the data will likely be lost. At a minimum you should set the data binding to "Use Name".Some other recomm...

Views

457

Like

1

Replies

0
Re: Where is the "Programming with LiveCycle ES4" Documentation?
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Great!  Looks like this forum served its purpose!Thanks!

Views

1.5K

Likes

0

Replies

0
Re: Where is the "Programming with LiveCycle ES4" Documentation?
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Shouldn't Adobe add that to the list of documentation on the website? I can find it through a google search but not from navigating the Adobe site. That was the main reason I posted the question.

Views

890

Likes

0

Replies

0
Where is the "Programming with LiveCycle ES4" Documentation?
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
It's not in the list of development references: http://helpx.adobe.com/livecycle/topics/developer-reference.htmlIt is listed in the ES3 documentation: http://help.adobe.com/en_US/livecycle/10.0/documentation.html#task=0,1,2,3,4,5,6&module=-1

Views

3.4K

Likes

0

Replies

5
Re: HELP!! How do I create hyperlink in a text field?
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Select your button, then open the script editor (Window-->Script Editor).In the script editor you'll see a dropdown that says "Show: Events with Scripts".Select "Click" from the dropdown.Paste the code I provided into the editor.For the "Language" dropdown make sure "JavaScript" is selected and not "FormCalc".That should do the trick.

Views

1.3K

Likes

0

Replies

0
Re: HELP!! How do I create hyperlink in a text field?
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Sounds like you want one user to type or paste a URL into a text field and then another user to be able to click on the text in the text field and be directed to that URL.I believe the recommendations above were all referring to static text rather than text fields.I think what you need to do is add a button next to your field. In the click event on that button, add the following code (substituting the name of your text field): xfa.host.gotoURL(TextField1.rawValue);This should give you the desire...

Views

1.3K

Likes

0

Replies

0
Re: CM Solution (ES3)...letter preview hangs
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
I resolved this issue a long time ago, but thought I'd provide additional info to close out the thread. I found some rendering errors in the JBoss log. I'm not entirely sure why it was failing, but I think it was related to my laptop being reassigned a new IP Address once I connected to a new network. Restarting JBoss resolved the issue. It would have been helpful if the Flex UI had presented an error message of some sort.

Views

715

Likes

0

Replies

0
CM Solution (ES3)...letter preview hangs
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
I'm having issues getting the letter preview from within the Correspondence Management Solution to launch. The UI just says "Loading Letter..." and nothing ever gets displayed. I assume this is an issue with Flex not being able to launch the Reader plugin via the Form Bridge. I don't see any javascript errors, however. Any ideas or thoughts on how to debug and/or resolve this?

Views

4.8K

Likes

0

Replies

7
Re: Data Model & Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Paul, Fair enough. The original post was about the use of data models within LiveCycle ES, and it looks like the extent of that is just for the creation of a Guide and a read-only PDF. I was expanding upon that to give some feedback on my wish list for the product going forward. I do think this has been some good, healthy conversation that we've had. I also appreciate that you are monitoring these forums and giving us some insight into the product development viewpoint.Thanks! Justin

Views

441

Likes

0

Replies

0
Re: Data Model & Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
I understand what you're saying, but I don't agree with the following statement:It made no sense to allow you to have an interactive PDF to collect information if you already have a Guide (especially seeing as you would loose functionality that you coded into the model). You're ignoring some of the benefits of PDF...it's more than just a document of record. You can't take a Guide offline. You can't apply a digital signature to a Guide. Right now I have to make an either/or decision...either I pr...

Views

435

Likes

0

Replies

0
Re: Data Model & Form
Avatar

Justin_Klei

Justin_Klei
- Adobe LiveCycle
Paul, Why do the limitations of XSD factor into this? Designer already supports other types of data connections in addition to XSD. Sure, they're all XML-based, but isn't Fiber as well? The way I see it, I would expect to be able to bind any form (Flex form, Guide, PDF form) to a Fiber data model. Once that form is submitted, I should be able to leverage the data persistence capabilities that are available with Fiber in LCDS. Right now it seems very disjointed. For example, suppose I want to put...

Views

441

Likes

0

Replies

0
Likes given to
Likes from