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
BedrockMission!

Learn More

View all

Sign in to view all badges

past-tense
Community profile past-tense Level 2
Job title here
Location here
9 BADGES
Level 2

Level 2

Learn more
Joined the community 21-06-2010 11:40:48 AM
Offline
Top badges earned by past-tense
Customize the badges you want to showcase on your profile
Re: How do I get the selected value of a drop down whose items are generated at runtime?
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi Scott,I don't know what could be causing the problem, I have not had any problems referencing values from a programmatically loaded drop down list. Can you share your form? (host it somewhere, like google docs, and add a link to it in this thread)RegardsBruce

Views

213

Likes

0

Replies

0
Re: Form keeps getting corrupted
Avatar
Level 1
Swati_V
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
Swati_V
- Adobe LiveCycle
Hi Scott,I am also facing similar issue. Sometimes the createt PDF is corrupted and could not be opened.In my case, I have reached to a conclusion that whenever the size of generated PDF exceeds 4 MB , it gets corrupted. For the same data if I remove or replace some images so that the size is below 4 MB then it works fine.I have contacted Adobe support few days back, but still not able to resolve the issue.Can you please check if the issue you are facing is also related to size of PDF?-Swati

Views

232

Likes

0

Replies

0
Re: Help with script
Avatar
Boost 5
Level 3
Mandy_Wiesener
Level 3

Likes

23 likes

Total Posts

194 posts

Correct Reply

22 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
Mandy_Wiesener
- Adobe LiveCycle
You start with the wrong code in line 7 with the second else if statementWith this line EVERY else if statment and the curly brackets are wrong. You have some curly brackets too much.Wrong:else{if (form1.Total_Assessment_Sub.Total_Performance.rawValue >=3.5&&Total_Behaviours.rawValue<4.5){form1.Total_Assessment_Sub.AssessmentValueTotal.rawValue="EXCEEDS EXPECTATIONS";}Right:else if (form1.Total_Assessment_Sub.Total_Performance.rawValue >=3.5&&Total_Behaviours.rawValue<4.5){ form1.Total_Assessmen...

Views

996

Likes

0

Replies

0
Re: How do I set focus after initialization?
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Hey again, glad you worked it out.Just for clarification, a literal string is anything between quotes. Literal strings are just plain text. Including the name of the variable in the string does not actually cause a reference to the value to exist. The compiler just sees text, and doesn't know which (if any) parts of the text you intended to reference a variable.So when you wrote:xfa.host.setFocus("xfa[0].form[0].form1[0].#subform[0].Subform2[0].Table1[0].Row1[rowNum].TextField1[0]");if was almos...

Views

235

Likes

0

Replies

0
Re: Expandable text field not breaking across multiple pages
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Hi radzmar,I checked the parent subform, which was fine, but I had accidentally left one of the grandparents as positioned. Fixed it and it's working great now. Thanks for the quick response... I've been getting a headache over this for the better part of a day.- Scott

Views

382

Likes

0

Replies

0
Re: Collecting data in an Excel spreadsheet
Avatar
Boost 1
Level 1
56205499
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
56205499
- Adobe LiveCycle
Hi there,I am using Adobe Acrobat Pro DC (19.010.20069) and I don't see any setting in the properties window for data binding.I run into an issue where my schema is not binding to the Excel file and I can't import new form data.Whenever I open an Excel spreadsheet, I open the Source tab and add a new map from the XML file of a filled-in Adobe form; I am able to see the schema in the Source map panel and save.Then, I fill in new data into my Adobe form, save as xml and try to import that data int...

Views

255

Like

1

Replies

0
Re: How do I use javascript or formcalc to reference child controls (not by name)
Avatar
Boost 50
MVP
_Bruce_Robertson
MVP

Likes

269 likes

Total Posts

1,782 posts

Correct Reply

372 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 250
Boost 25
View profile
_Bruce_Robertson
- Adobe LiveCycle
Hi Scott,The subform has a nodes collection you can loop though, as you suspected. If might show up more than you want but you can test the className to see if it is a field and then ui.oneOfChild.className to work out what type of field. So;for (var i = 0; i < Subform1.nodes.length; i++){ var n = Subform1.nodes.item(i); console.println(n.className + " " + n.name + " " + n.ui.oneOfChild.className);}Hope this helps.Bruce

Views

233

Likes

0

Replies

0
Re: Any way to outright exclude a control from the tab order? (besides xfa.host.setFocus)
Avatar
Validate 1
Level 10
Niall_O_Donovan
Level 10

Likes

646 likes

Total Posts

4,352 posts

Correct Reply

786 solutions
Top badges earned
Validate 1
Boost 500
Boost 50
Boost 5
Boost 3
View profile
Niall_O_Donovan
- Adobe LiveCycle
Hi,In addition we have an example form here: http://assure.ly/gBUUXB, which highlight Howard's point about the automatic tabbing order being set by the relative x/y coordinates of objects (working from the top/left) and that once an object in a subform has focus, tabbing will work through the remaining objects in the subform before coming back out to the rest of the form. Niall

Views

300

Likes

0

Replies

0
Re: Linking to help documents on a common drive
Avatar
Validate 10
Level 8
Jono_Moore
Level 8

Likes

109 likes

Total Posts

1,151 posts

Correct Reply

144 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
Jono_Moore
- Adobe LiveCycle
If you're going to a website you can also use app.launchURL() (it doesn't support files though).Not sure if one's better than the other.

Views

130

Likes

0

Replies

0
Re: Is it possible for fragments to contain variable content?
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Well, as I was writing the above question, I had an idea as to how I mihgt be able to acheive this... I tried it and it worked.In my master page, I he turned my entier header into a fragment. In the header is an empty text field that I have formatted to look as I want the title text to appear. Also in my master page is a "FormOptions" subform with text fields for each 'variable' such as title.In the Title text field in the fragment, in the initialize code I've used:this.rawValue = FormSettings.T...

Views

371

Likes

0

Replies

0
Re: Form doesn't play nicely with Acrobat 8 Pro
Avatar
Validate 10
Level 4
kingphysh
Level 4

Likes

41 likes

Total Posts

288 posts

Correct Reply

35 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
kingphysh
- Adobe LiveCycle
Hi,Keep in mind, you only need Reader to use the forms (unless you're doing somthing beyond filling-in form fields). Encouraging Reader (vs Pro) lets the user have the full benefit of all form handling updates--and other compatibility issues like IE9. I've have seen what I believe may be a bug that went away when the client upgraded from Reader 9 to Reader 10. It had to do with repeating table cells all named "Cell" . For one user, their Reader 9 choked, reporting that it couldn't find Row[i]Cel...

Views

293

Likes

0

Replies

0
Re: I'm wondering if it is possible to design a form that will read flashcards in xml format?
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
I'm glad to hear that it's working for you. Good luck with the studying.- Scott

Views

249

Likes

0

Replies

0
Re: SubForm with data binding that repeats
Avatar
Validate 1
Level 1
harry_shantoo
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
harry_shantoo
- Adobe LiveCycle
Hi Scott,This is exactly what I want my Form looks something like below, the French subform is an exact duplicate of the english subform. The ItemBody subform is the repeating subform it works Ok in the first page but in the second page cannot see the items.My XML is something like below 1 1 2 2 The Binding I have in the first occurence of Subform ItemBody is InvoiceDetail.ListOfInvoiceItemDetail.InvoiceItemDetail[*] which works perfectly fine. But when trying to initialise the ...

Views

1.1K

Likes

0

Replies

0
Re: Have to click on the button twice to execute code on Click event.
Avatar
Validate 10
Level 2
1996_kcv
Level 2

Likes

2 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile
1996_kcv
- Adobe LiveCycle
Past-tens,Once again you made my day .Thank you.I've missed to put if (xfa.event.commitKey == 3) then on the button that was next in the tabbbing order.Once I put the code, it fixed the issue and it is working as expected. I actually had xfa.host.setFocus(Button3), but that wasn't enough.You explained it very well. Thank you so much!

Views

258

Likes

0

Replies

0
Re: Showing and hiding multiple tables with a drop down list
Avatar
Level 1
3dMania
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
3dMania
- Adobe LiveCycle
I know no one has replied to this in a while but I was trying to teach myself how to control hidden tables in my PDF using drop down selections. I used the above code to mock-up a simple form and have it working but when you open the PDF I get a validation error message when you make your selection in the drop-down menu:The value you entered for Drop-down List is invalid.If you click OK it still unhides the table you selected in drop down. How do you edit the following to stop the error messages...

Views

683

Likes

0

Replies

0
Re: Why doesn't the space bar "click" the button when tabbing through the form?
Avatar
Validate 10
Level 8
Jono_Moore
Level 8

Likes

109 likes

Total Posts

1,151 posts

Correct Reply

144 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
Jono_Moore
- Adobe LiveCycle
Wouldn't removing the buttons from the tab order affect accessibility with regards to screen readers and that sort of thing?I'm curious as I've recently been instructed to learn all about forms accessibility lately.

Views

159

Likes

0

Replies

0
Re: xfa.host.SetFocus question.
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
No worries, this forum has helped me out a number of times, and I like to show my appreciation by helping others when I can.As for the commitKey code not working, I've seen this happen when it's used with javascript instead of formcalc. It's not a huge issue, and converting your validation from javascript to formcalc may not be worth the trouble you would have doing so. For other fields, though, you could try putting the following code in formcalc instead of using javascript, just to see if usin...

Views

356

Likes

0

Replies

0
Re: Data Binding for Idiots (me)
Avatar
Validate 1
Level 9
Steve_L_Walker
Level 9

Likes

197 likes

Total Posts

1,435 posts

Correct Reply

212 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Steve_L_Walker
- Adobe LiveCycle
Scott,1) No date binding means a form object is not included in exported XML. Data binding has no effect upon saving data when saving a form, the form will contain the data.2) For me, rule #1 is use a schema and schema binding. It is worth the upfront investment in time. What you see in the schema is what you see in the output data, given a form object is bound to the schema. You can bind a single schema element to multiple form objects if you need to re-use data across sub-forms, also. Rule #2,...

Views

302

Likes

0

Replies

0
Re: How do I lock PDF before e-mailing so that it cannot be altered by the recipient?
Avatar
Level 1
George_Florenti
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile
George_Florenti
- Adobe LiveCycle
This is the system that I use and it workes perfectly:/** * Loop through all elements of eForm, except button named "view", and set the access to "protected" */function LockForm() { // Get the field containers from each page. for (var nPageCount = 0; nPageCount < xfa.layout.pageCount(); nPageCount++) { var oFields = xfa.layout.pageContent(nPageCount, "field"); var nNodesLength = oFields.length; // Set the field property. for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) { if (!(o...

Views

570

Likes

0

Replies

0
Re: Hidden field prepopulated from DB.
Avatar
Validate 10
Level 2
1996_kcv
Level 2

Likes

2 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 1
View profile
1996_kcv
- Adobe LiveCycle
I really appreciate your help. That worked perfectly.

Views

110

Likes

0

Replies

0
Re: Saving .PDF with Repeatable Subforms Adds a New Instance.
Avatar
Validate 10
Level 3
SI_MSD7
Level 3

Likes

17 likes

Total Posts

220 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
SI_MSD7
- Adobe LiveCycle
I've spent HOURS+++ trying to find a solution only to discover that the field names within a repeating subform must be unique. Case in point, when I had a subform containing 3 fields: TextField1[0], TextField1[1], TextField1[2], I ran into an issue where a new instance of the subform was created each time the form was opened and saved. VERY AGGRAVATING! However, by changing the names of each field within the subform, the issue was resolved!NOTE: Considering, I needed to use that same subform in ...

Views

278

Likes

0

Replies

0
Re: Optionally print a page
Avatar
Validate 50
Level 3
mdawn50
Level 3

Likes

8 likes

Total Posts

346 posts

Correct Reply

6 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Boost 5
View profile
mdawn50
- Adobe LiveCycle
That worked. It's doing exactly what I needed. Thanks,MDawn

Views

98

Likes

0

Replies

0
Re: Emptied fields reappear after save.
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Alright, I've done some extensive testing, and I've found out the precise cause of this behavior. It doesn't occur on all fields, just the ones that are set to accept rich text.I've taken a peek at the XML behind the fields as their values are edited. All text fields start with just the following:once the value has been edited then cleared, the XML becomes: I think that this left over artifact causes livecycle to revert to some internally sotred exData value, and that the only way to overwrite i...

Views

72

Likes

0

Replies

0
Re: Using radio buttons to set the value of a text field
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
The information for this specific case isn't anywhere. The best that you can do is understand what triggers each of the events, then ask yourself which of those triggers are pertinent to your current issue.http://help.adobe.com/en_US/livecycle/es/LiveCycle_Designer_Scripting_Basics.pdf ...The above link contains a great deal of information regarding how to use scripts within Livecycle Designer. The section that you would be most interested in in order to learn about the available events can be f...

Views

389

Likes

0

Replies

0
Re: Text Field - Get selected text
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Hello again,I knew that it would be difficult when I started this project, but I like to think that nothing is impossible. I already have a working knowledge of how to dynamically format text, thanks to a tutorial that provided an 'envelope' for formatted text. I'm able to have a button called bold, and a textbox where the user enters the start/stop indexes. I have that test form working, I just want to be able to get the indexes from the highlighted text.I think that I have a workable idea. I'm...

Views

107

Likes

0

Replies

0
Print button issues.
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Hello everyone,In order to 'flatten' our pdf forms so that they cannot easily be modified, we have decided to print all of our completed forms to a virtual .pdf writer. Now, we could have all of our users click file-->print-->select 'cutePDF Writer' from the printer drop-down-->hit OK-->Type in a file name for the new .PDF-->hit OK... but I was hoping that I could make their lives easier by adding a button to do most of this for them.After scowering the depths of the internet, I found this scrip...

Views

386

Likes

0

Replies

0
Re: Dynamically set image path
Avatar
Level 1
bizcontentNR
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
View profile
bizcontentNR
- Adobe LiveCycle
Hello Scott,I am using Images in my form too., But we dont store the path of the image in our database. We store the image itself as a blob in the database table datatype varbinary(max). We are using SQlServer 2008. So binding the Image field to the blob object displays it perfectly, no extra conversion is required.Is that an option for you ?regardsNanda

Views

99

Likes

0

Replies

0
Re: Help with inserting pages into a PDF form
Avatar
Level 1
rburdine
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
rburdine
- Adobe LiveCycle
Thanks to you both! That helped quite a bit.I printed the form to a PDF file in Adobe Acrobat, and it was then able to be modifed and have pages inserted.Thanks so much for the rapid reponses!Becky

Views

221

Likes

0

Replies

0
Convert Dynamic Form to HTML
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Hello all,I recently came a cross a situation where one of our forms needs to be converted into html before it is sent to the recipient. I've tried to do so in acrobat using:1) File -> Export -> [HTML -> HTML 3.2 / HTML -> HTML 4.01 with CSS 1.0 / Microsoft Word Document / Rich Text Format]2) File -> Save As -> [HTML 3.2 / HTML 4.01 with CSS 1.0 / Microsoft Word Document / Rich Text Format]Converting or saving to the HTML creates an html document with the header and metadata, but no body content...

Views

456

Likes

0

Replies

0
Re: Erratic presence behavour.
Avatar
Validate 1
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
past-tense
- Adobe LiveCycle
Thanks for the reply,I have been setting it to hidden, but for some reason, 'Hidden' behaves like 'Invisibile', in that it keeps the whitespace.I have the solution, though... I found that if I enter more text than the textbax can initially display, it repositions itself properly when it expands to fit the content. This led me to believe that it was just a rendering bug. The fix was to include an 'xfa.layout.relayout();' after I hide/display the textbox.Thanks for your time, though.- Scott

Views

118

Likes

0

Replies

0
Likes given to