Expand my Community achievements bar.

BarlaeDC
BarlaeDC
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi,I am unable to download the document, the error says "Document does not exist". Think it may not be shared correctly.However looking at your code I can see that you have called the top level form "data", as this is a command word that is used fairly regularly in LiveCycle forms, can you rename it...

    Type

    Questions

    Views

    763

    Likes

    0

    Replies

    0
  • Hi,As a possible workaround, you could put the code you want for the preprint in a script object as a function ( passing the objects you require) and then you could just call the function from where ever you are and this would run the same code in both occasions.sorry it is a bit vague but not sure ...

    Type

    Questions

    Views

    762

    Like

    1

    Replies

    0
  • Hi,Assuming you are using designer ES2 and you are referring to the macro ability then I believe this should do what you want.http://blogs.adobe.com/formfeed/2011/09/more-macro-goodies.htmlHope this helpsMalcolm

    Type

    Questions

    Views

    591

    Like

    1

    Replies

    0
  • Hi,Because you are using the change event and a dropdown list I would recommend that you use "event.newText" instead of "PriChoice.rawValue"This will make sure you get the currently selected item from the drop down list.The other point would be does the dropdown list have a item of value 0, as it ma...

    Type

    Questions

    Views

    754

    Likes

    0

    Replies

    0
  • Hi,On the text field you have the following scriptif (debitamount ne 0) then      $ = debitamount / termnumberelse      $ = 0endifif you change that to this does that not do what you wantif (debitamount ne 0) then      $ = Ceil (debitamount / termnumber)else      $ = 0endifHope this helps.Malcolm

    Type

    Questions

    Views

    754

    Likes

    0

    Replies

    0
  • Hi,I don't think you can add a watermark in that manner to a form designed in LiveCycle as the watermark is added to an Optional Content Group and I don't think these can be created in LC forms ( maybe someone else can confirm that?)As to your code this callvar myDoc = event.target.documentFileName;...

    Type

    Questions

    Views

    900

    Likes

    0

    Replies

    0
  • HI,you can use event.target.documentFileName;Hope this helpsMalcolm

    Type

    Questions

    Views

    838

    Likes

    0

    Replies

    0
  • Hi,No the messagebox is limited to what is in the help.If you are creating a PDF ( viewed in Acrobat or Adobe Reader) then you could  create your own dialog to do this,  to create your own dialog you would have to use the Acrobat JS Guide, specifically the "app.execDialog" function, but this is fair...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • Hi,if you add a variable the xfa.host.massageBox call returns the button that was pressed.for examplevar retFromBox = xfa.host.messageBox("Enter Number","Validation",1,2);the retFromBox variable will be one of the following1 (OK) 2 (Cancel) 3 (No) 4 (Yes) Hope this helpsMalcolm

    Type

    Questions

    Views

    2.0K

    Like

    1

    Replies

    0
  • Hi,I wouldn't recommend running show hide on a entered field as it is more difficult to control, but the code wouldn't have to change except for the names of the fields.If you are wanting it for specific values ( 10, 15, 100.00) then you would replace them in the if/switch statement. If you are want...

    Type

    Questions

    Views

    612

    Like

    1

    Replies

    0