Expand my Community achievements bar.

jcarlosd
jcarlosd
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • 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

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • 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");

    Type

    Questions

    Views

    1.2K

    Like

    1

    Replies

    0
  • 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

    Type

    Questions

    Views

    673

    Likes

    0

    Replies

    0
  • I clicked on "share the document" in my workspace: let's see if everybody can access itJC

    Type

    Questions

    Views

    670

    Likes

    0

    Replies

    0
  • 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 ...

    Type

    Questions

    Views

    671

    Likes

    0

    Replies

    0
  • 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 yo...

    Type

    Questions

    Views

    670

    Likes

    0

    Replies

    0
  • 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.PieChar...

    Type

    Questions

    Views

    2.1K

    Likes

    0

    Replies

    7
  • 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 samp...

    Type

    Questions

    Views

    518

    Likes

    0

    Replies

    0
  • 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...

    Type

    Questions

    Views

    516

    Likes

    0

    Replies

    0
  • 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

    Type

    Questions

    Views

    517

    Likes

    0

    Replies

    0
Top badges earned by jcarlosd
Customize the badges you want to showcase on your profile