Thanks for your immediate response, Niall.
I tried to compare what Paul did with mine. Seem I did exactly the same thing except that my form Hierarchy looks messy whereas Paul's is very clean.
Does it matter? Here is the initiation statement in JavaScript for the dropdown and it give you a clue about my hierarchy:
TopmostSubform.Page1.Paragraph[1].DropDownList1::initialize - (JavaScript, client)
Should I clean my hierarchy to make it look more like Paul's? Right now I have many Paragraphs in Page1 (DropDownList1 and the buttons are on different Paragraphs) but I only have one subform which is the TopmostSubform. Any references for cleaning the Hierarchy?
Sorry for the trouble.
Hi,
First off, it looks like you created multiple subforms called 'Paragraph'. LC Designer keeps track of the various instances of these using a zero-based instance number Paragraph[1]. This is OK, but makes referencing objects more difficult, because LC has to resolve the node for the object.
So I would recommend that you name objects (subforms, fields, etc). So that you can easily reference them in script.
TopmostSubform is the name of the root node. This name indicates that you imported an existing Word document or PDF to start off the form. This is OK, but some of the normal LC functionality will not be available.
The DropDownList1 object is in the second instance of the Paragraph subform. Therefore if you button is on Page1, it will need to include the subform name in its script.
For example if you left the names as they currently are (several instance of the same name), the script would look like this:
xfa.resolveNode("TopmostSubform.Page1.Paragraph[1]").DropdownList1 ...
But if you gave the subforms a unique name the script would be much easier, say 'myParagraph':
myParagraph.DropDownList1 ....
Hope that helps,
Niall
Could you also send it to me, thanks david.plutto@bms.com
Hi Paul or anyone,
Kindly send me a copy of your sample script for the dropdown with multiple email addresses, or if anyone can send me a copy of Paul's samples, it would be greatly appreciated.
My email is archie.pablo@esa.sccgov.org.
Thanks so much.
Archie
Paul, would you mind to send me a copy as well. Thanks in advance. Haagendazs.
diy_haagen_dazs@yahoo.com.hk
I will post it here ....
Paul
Sure email the form to LiveCycle8@gmail.com and include a description of what you are trying to do ....I will look at it when I get a chance.
Paul
Hi Barb,
I am creating almost same form like yours, time off request form.
I like to setup the drop down list of managers to select then the summit button will send to the selected manager's e-mail.
Can you share how you created this?
I am new for this program and need all the help I can get.
Thanks you very much in advance.
My email is jl9911@gmai.com
jlee
Hi JLee,
Geeez . . . I created the form more than a year ago, also new to LCD and Acrobat forms, and it's not something I do on a regular basis so the infrequency often requires I figure out what I previously did all over again. I pulled my hair out for weeks with this one, all trial and error. If I recall, what you're trying to do requires a hidden "real email" button, I've attached a page of instructions I got from the same message board that was a key to getting it to do what I wanted (email Options file attached)
.
I also often referenced two books, PDF forms Bible and Creating Dynamic Forms with Adobe LiveCycle Designer (the latter being most helpful and has a CD with Demo Files that you can dig through for comparison and script), several online articles and Adobe Designer Help, part of which I printed to keep in a 3-ring binder for reference. I've attached some of them along with my form so you can try to decipher the madness to my methods :).
Chapter 6 from Cheridan Smith's book also helpful: http://www.adobe.com/devnet/livecycle/articles/advanced_formdesign.htm l
Though not easy or direct, I hope some of this is helpful to you.
~ B.
Hi Meg,
Paul's example is already posted on this thread, here: http://forums.adobe.com/message/3047322#3047322.
Good luck,
Niall
North America
Europe, Middle East and Africa
Asia Pacific