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: SubForm with data binding that repeats
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,Sorry for the delay in getting back to you; I had to wait for my break.Alright, from everything you've said, I seems to me that your only real option would be to use some code to copy the values from page one to all of the other pages. Seeing as your users won't be making any changes and you will just be doing data bindings, I would suggest either making all of your fields read-only, or possibly printing to a virtual pdf printer once you've imported the date in order to 'flatten' your ...

Views

1.1K

Likes

0

Replies

0
Re: SubForm with data binding that repeats
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,I can see how this could be difficult to achieve. I have a few ideas, but it really depends on a number of things:- Is it just the two pages, or is the number of pages dynamic? If it is dynamic, what determines how many pages are to be included?- What sets the two pages apart from one another? Are they exactly the same as one another, or are there other fields asides from the repeating subform the set page 1 apart from page 2?- Is this form just intended to have it's data bound to it, ...

Views

1.1K

Likes

0

Replies

0
Re: SubForm with data binding that repeats
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 there,I deleted the sample that I built yesterday, and I don't have the time to build a new one today. I can, however, tell you how I got it to work:Your xml is as follows: XXX YYY I assume that you want XXX on page1 and YYY on page 2... additionally, I assume that each page can have multple employee elements bound to them... hense the repeatable subform with the name field. The issue that you're seeing is that Adobe has no way of grouping which employee elements go together. In your X...

Views

1.1K

Likes

0

Replies

0
Re: Copy table from Excel
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 not aware of any way to directly copy multiple excels cells into multiple form fields, wihtout doing each cell individually. There is a bit of a waorkaround that you can use, though... you can create an excel workbook which binds itself to an xml data source whose schema matches that of your form. This can be a bit time consuming, especially when you bring repeatable subforms into play, but when done correctly, you can fill the data in the excel document, output it to an xml file then bind t...

Views

77

Likes

0

Replies

0
Re: SubForm with data binding that repeats
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,I was about to blindly say that you had to use unique names for all subforms, when I realized that I had never tried to see what happens when you didn't. I built a very simple test form, and used two repeatable subforms with the same name. I opened the form input a number of records in each repeatable subform, then exported the data as xml: 1 2 3 4 5 6 7 8 9 10 11 12 When I bound the data back to the form, everything was filled in as it should have been. I guess this means that it ...

Views

1.1K

Likes

0

Replies

0
Re: Have to click on the button twice to execute code on Click event.
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 1996,It sounds to me like you have a setfocus soomehwere that is still overriding the click event. For example, if you have a field that doesn't check if (xfa.event.commitKey == 3) before setFocus is called, it doesn't matter which other field (or button) you click on, you will be sent to the field specified by the setFocus. "Double clicking" isn't a double click, it's one click which is overridden by a setFocus (which sends you somewhere else) then a second click which isn't interrupted by ...

Views

191

Likes

0

Replies

0
Re: Showing and hiding multiple tables with a drop down list
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 issue that you're seeing with the value being off is due to the fact that you're using the change event. The change event fires *before* the new value is assigned to the field. This event is usually used to intercpet changes. If you want to keep using the change event, you can get the new value with:xfa.event.newText;This, however, will get the display text instead of the value behind. You could probably check the dropdown nodes to see what the value is, but I think you should just avoid all...

Views

484

Likes

0

Replies

0
Re: Why doesn't the space bar "click" the button when tabbing through the form?
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
Glad to be of some assistance. Let me know if you have any trouble.- Scott

Views

153

Likes

0

Replies

0
Re: Why doesn't the space bar "click" the button when tabbing through the form?
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 there,There is one way to remove buttons completly from the tab order. It takes a bit of work to acheive, but I do this for all of my forms... In the exit event of all fields that I wish to tab through, I include the following code:if (xfa.event.commitKey == 3) then xfa.host.setFocus("NextFieldsSOM")endifWhat the above says is 'If the person is leaving this field by pressing tab, then set the focus to the field at NextFieldsSOM (Where NextFieldsSOM is the relative or absolute reference to the...

Views

157

Like

1

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

373

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
Hi again 1996,You can use setFocus multiple times in the exit event, and the last one that is called is where you end up. I would suggest putting the 'default' tab before all of your logic, to ensure that it's the one that gets called when the field is valid:i.e.:xfa.host.setFocus(form1.subform1.FField1);var regExpDate = /^\^\d{5}-\d{4}|\d{5}|[A-Z]\d[A-Z] \d[A-Z]\d$ $/;var vMatched = this.rawValue.match(regExpDate);if (!vMatched){this.rawValue=null;xfa.host.messageBox("Enter the following format...

Views

347

Likes

0

Replies

0
Re: Coordinate Text Box Size
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
Try making your form using a table. Table rows resize together, as you want them to. That's pretty much the easiest way that I can think of.Let me know if you need any help working with tables,- scott

Views

70

Like

1

Replies

0
Re: Reset fields by page or subform
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 there,Am I right to assume that you want the fields on the hidden subform to be null instead of their default value because you plan on exporting the data? The reason why I made that assumption is because I personally don't see any other value to nulling out hidden fields, unless it's in order to clean up the exported data....If that's right, nulling the fields still won't remove them from the exported XML. The nodes just wouldn't have a value... i.e. value01 value02 If you want to exclu...

Views

105

Likes

0

Replies

0
Re: How do I lock PDF before e-mailing so that it cannot be altered by the recipient?
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 everyone,I know that this solution isn't a simple button press, but it's what i do when I don't want users to be able to edit a completed form.I use a virtual printer ('Adobe PDF' or 'CutePDF') to "print" the form to a new flattened pdf document. All scripts are lost, and all fields are made 100% uneditable. No fancy code required, and you can make use of '.relevant = "-print"' in the initialize event of fields that you don't want to include in the printed version. You can then email this pr...

Views

495

Likes

0

Replies

0
Data Binding for Idiots (me)
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 everyone,I've been asked to build a form that is way more complex than anything I've done in the past. I just wanted to ask the experts here a few questions before I get started, to make sure that I don't make any huge mistakes.The complexity of the form lies in the huge number of nested repeatable subforms, the fact that it's three forms in one (which form being shown depends on a selection from a drop down list), and the fact that the form needs to be designed to export its data cleanly to...

Views

810

Likes

0

Replies

1
Re: Hidden field prepopulated from DB.
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 again 1996,Here is a sample of how I would design a repeatable subfrom that: - Starts with no records showing (Initial Count = 0) until either data is imported or the user clicks a button. - Dynamically shows/hides a friendly message to let the user know if there are no records. - Micromanages the tab order of the fields by checking whether the fields were exited by using a tab key. If so, it determines the most appropriate field to go to. (I did this because, in my experience, the default ta...

Views

88

Likes

0

Replies

0
Re: Hidden field prepopulated from DB.
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 1996, sorry for the late reply.Alright, like I said, visibility is never affected by an import. If you want to show information in a field, the field has to be visible, and all of the field's parent subforms need to be visible as well. If any of the subforms that the field is nested within are hidden, the field will remain hidden, regardless of whether or not you import data into it.This behavior is different from binding data to a repeatable subform with an initial count of 0. In this case, ...

Views

89

Likes

0

Replies

0
Re: Image File Size
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 there,This option is a bit work intensive, but it's what I've been doing when a form is bloated by large images. It requires the you have Adobe Acrobat Pro, and assumes that the person you are emailing the filled in form will not have to make any changes.1) First, use a virtual printer to "convert" the XFA form to an Acro form (both are .PDF files, but they have completely different internal structures. XFA forms are dynamic XML forms, while Acro forms are the standard static variety). - Open...

Views

49

Likes

0

Replies

0
Re: Saving fillable pdf's as non-fillable pdf's
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 forgot to mention, if you have Adobe Acrobat Professional installed on your computer, there is a good chance that you already have 'Adobe PDF' listed as a printer. You can follow the above instructions, swapping out 'CutePDF' for 'Adobe PDF'. They are both virtual printers, and the both effectively flatten PDFs so that they can't be edited. I just personally prefer CutePDF.Another neat aspect of this is that you can hide whatever you want from showing in the 'printed' version by putting the Fo...

Views

194

Likes

0

Replies

0
Re: Saving fillable pdf's as non-fillable pdf's
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 Ashley,The process of making a PDF entirely 'read only' is called 'Flattening'. I assume that you want to flatten the form after one of your coworkers has filled it in. Adobe has some very extensive server-side software that is capable of handling everything that you are asking for, but the price tag is very steep.A free work around is to use a virtual printer to 'print' to a new file. I personally use CutePDF which is free and very easy to use. You install it as a printer on your computer, a...

Views

194

Likes

0

Replies

0
Re: Saving .PDF with Repeatable Subforms Adds a New Instance.
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
Note: I removed the my sample pdf, so the link is now broken.

Views

184

Likes

0

Replies

0
Re: Saving .PDF with Repeatable Subforms Adds a New Instance.
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 everyone,I've found the answer to my own problem. I had a heck of a time Googling the issue, so I'm going to put some of the phrases I tried at the bottom, in case some like-minded individual has a similar problem.The main issue was with the databinding. I had left the databinding for everything as the default 'use name (...)'. I was under the impression that so long as no sibling elements were named the same thing, there wouldn't be a conflict. I was wrong.In my form, I used static ...

Views

190

Like

1

Replies

0
Re: Hidden field prepopulated from DB.
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 there,When you populate the form from the database, visibility is never affected. Anything that is visible stays visible... anything hidden stays hidden.What you can do is use a little formcalc to check if the field has a value, and if so, show the parent subform. This solution assumes that you don't have a hide button. If you do, you should change the hide/show buttons to a single checkbox, then check the checkbox 'srawvalue to see what state of visibility the subform should use.code (put in...

Views

87

Likes

0

Replies

0
Saving .PDF with Repeatable Subforms Adds a New Instance.
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 everyone,I've been working with LiveCycle Desinger dynamic forms for a few years now, and this is the first time that i'm seeing this sort of behaviour.I have a very large form open in LiveCycle Designer. It has or 50 different repeatable subform sections. I save it from Designer, then open it in Adobe Acrobat X Pro. From Acrobat Pro, each time I resave it then reopen it, a new instance is added to each repeatable subform.If I fill it in, save it, then reopen it, it has all of my info, plus ...

Views

1.8K

Likes

0

Replies

4
Re: Optionally print a page
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
Put a check box on the instruction sheet, then in the change event of the check box, set:Reference_Syntax.relevant = "+print"; orReference_Syntax.relevant = "-print"; depending on whether the box is checked (you can set the .relevant of an entire page). Using .relevant is better than .presence, as it prevents (or allows... -print/+print) the page from printing, but doesn't hide the page on screen, so there is no flicker while it's printing.If you need the actual code, just let me know, but this ...

Views

97

Like

1

Replies

0
Re: Limit the amount of copies that can be printed
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
Yet another issue that just popped into my mind is that the preprint event fires even when the print dialog is canceled. If your users cancel printing twice, they won't be able to print the form at all.I don't personally know of any way to check if the print dialog was canceled. Even moving the +1 to the count to the postprint event wouldn't fix it, as the postprint event also fires regardless of whether the print dialog was cancelled.If there is some script that can be used to check the print s...

Views

493

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

394

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

74

Likes

0

Replies

0
Re: Limit the amount of copies that can be printed
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
This should be doable, but not very pretty...First, put a text-field on the form, and make it hidden with a defaullt value of 0;in pre-print, check if the value of the hidden field is >= the limit, if so setxfa.event.cancelAction = 1that will prevent the print dialog from even showing.if the value of the hidden field is < the limit, add one to the value of the field.That should do it. If you need a hand with the actual code, just let me know.- Scott(limitations: if the user doesn't save the chan...

Views

493

Likes

0

Replies

2
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
That looks right to me (assuming that the text field is called "WorkSkillsRating") when you select the code for any element that has nested elements (as with WorkSkillsButtons having WorkSkills1-3) the code for the selected event for each nested element is shown. you can ignore:form1.Page2.WorkSkillsButtons.WorkSkills1::initialize - (FormCalc, client) form1.Page2.WorkSkillsButtons.WorkSkills2::initialize - (FormCalc, client) form1.Page2.WorkSkillsButtons.WorkSkills3::initialize - (FormCalc, clie...

Views

378

Likes

0

Replies

0
Likes given to