Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

jcarlosd
jcarlosd
Offline

Badges

Badges
8

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
1

Posts & Comments

Posts & Comments
19

Discussions

Discussions
0

Questions

Questions
4

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by jcarlosd
Customize the badges you want to showcase on your profile
Re: Multiple Line Drop Down List - Adobe LiveCycle 12-12-2012
No problemYes, you have to repeat the code for each item you want to populate.You can place the code in the "initialize" event for the form or for the page the list is in. So, when you open the form, the list is already populated and ready to use.J. Carlos

Views

660

Likes

0

Replies

0
Re: Multiple Line Drop Down List - Adobe LiveCycle 12-12-2012
Yes, you can fill a dropdown list with javascript:MyDropDown.clearItems();MyDropDown.addItem("Item 1","1");MyDropDown.addItem("Item 2","2");etc.If you want to insert multiple lines, write "\n":MyDropDown.addItem("This is Item 3\nA very long line containing this option","2");

Views

643

Like

1

Replies

0
Re: How to specify an angle of a circle arc - Adobe LiveCycle 12-12-2012
Well, anybody had a chance to check why I can not generate the pie chart in the attached document. I took again a look to it and I can not find where is the problem.I'll appreciate your help!J. Carlos

Views

247

Likes

0

Replies

0
Re: How to specify an angle of a circle arc - Adobe LiveCycle 23-11-2012
I clicked on "share the document" in my workspace: let's see if everybody can access itJC

Views

244

Likes

0

Replies

0
Re: How to specify an angle of a circle arc - Adobe LiveCycle 23-11-2012
Radzmar, I was not able to integrate FormCalc and Javascript codes. Perhaps it is more clear if I share my sample form: https://workspaces.acrobat.com/?d=ipGSlX8SgNPeQbgkbuZ2NgMy idea is that with some javascript function I can generate the data needed to insert in the chart. Then, I call a routine that "draws" all lines and arcs to create the graph.As you can see, I adapted your FC code to JS, and I can get the chart legend, but cannot see the arcs.Do you see where is the problem?J. Carlos

Views

245

Likes

0

Replies

0
Re: How to specify an angle of a circle arc - Adobe LiveCycle 12-11-2012
Thanks radzmar for your point: the reason I use javascript instead of FormCalc is because I want to use your pie chart sample to integrate in one of my PDFs. I made some calculations with Javascript, and I do not know how to mix both codes, so I decided to continue with Javascript only. Now, with your correction, that statement works, though xfa.resolveNode makes my code more complex, because in the loop you created I have to make another one, because Bow[*] does not work.Besides of that, I can ...

Views

244

Likes

0

Replies

0
How to specify an angle of a circle arc - Adobe LiveCycle 10-11-2012
I am trying to replicate radzmar contribution to draw a pie chart (see http://forums.adobe.com/message/4036372)But I want to integrate in a form I already have and use only Javascript (not FormCalc)I have stopped trying to specify properties of the arc circles.If I write:var Sweep = 120;Page.PieChart.Output.Pie[0].Bow[0].value.resolveNode("#arc").sweepAngle = Sweep;It does not wotk. I tried alsoPage.PieChart.Output.Pie[0].Bow[0].resolveNode("value.#arc").sweepAngle = Sweep;Page.PieChart.Output.P...

Views

1.7K

Likes

0

Replies

7
Re: Not able to run any code after importing XML data - Adobe LiveCycle 18-10-2012
Yes, it works now. Thanks a lot Kyle for helping in this strange issue! I can name more than a dozen of different languages I programmed and I never worked before with such a difficult environment as Adobe LiveCycle Designer + Javascript. For instance, debugging is really a nightmare. This is a sample of what I said: who could think where was the problem? I really appreciate your contribution Kyle.J. Carlos

Views

145

Likes

0

Replies

0
Re: Not able to run any code after importing XML data - Adobe LiveCycle 18-10-2012
Oh, yes it works but I have to write that instruction before xfa.host.importData("");If I write it later, javascript processing stopsThere is something strange with that importData() statement, as you pointed.Other thing it bothers me is that I cannot run any other function after importDataIf I just write:xfa.host.importData("");xfa.host.messageBox("after import " , "Msg", 3);MyForm.SomeFunction();and I have definedfunction SomeFunction(){xfa.host.messageBox("inside function" , "Msg", 3);}It sho...

Views

143

Likes

0

Replies

0
Re: Not able to run any code after importing XML data - Adobe LiveCycle 17-10-2012
Sorry, I did not understand your proposal regarding how to create that new variable.Did you mean:var somCountry=Country;orvar somCountry=Country.rawValue;I'll appreciate your helpJ. Carlos

Views

144

Likes

0

Replies

0
Likes from