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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AJP256
Community profile AJP256 Level 4
Job title here
Location here
14 BADGES
Level 4

Level 4

Learn more
Joined the community 16-06-2009 10:53:11 AM
Offline
Top badges earned by AJP256
Customize the badges you want to showcase on your profile
Re: messageBox Line Breaks and "Hiding" Overflow Leaders
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Thanks Srini! \n worked like a charm. Now, if someone can help me with overflow leaders, I'll stop bothering you guys (for now, at least ).

Views

503

Likes

0

Replies

0
messageBox Line Breaks and "Hiding" Overflow Leaders
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Okay, two questions in one post, but I didn't want to clutter up the main page. First, if I want to have something like,Before you finish, make sure you have:*Done step A*Done step B*And done step CIf you've done so, click 'OK' to leavedisplayed in a message box, how can I set up the line breaks? I tried spacing things out with tabs, but I ran into some weird behavior where the messageBox cut off the last bit of the text. Is there a limit to the amount of text one can put in a messageBox?Second,...

Views

1.8K

Likes

0

Replies

2
Saving Form Data (Possibly Using Email Submit Button)
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Hello all. I have a form which contains sensitive data, and therefore would prefer that users not submit it via email (somehow the thought of identity theft doesn't fill me with a warm fuzzy feeling). The good news is it appears this is completely feasible, since the email submit button allows you to save the form data when you indicate you use an internet-based email program. However, I'd rather automatically jump to a "Save As" window rather than having to explain to people they need to select...

Views

720

Likes

0

Replies

1
Re: How to Deal with a Large Form
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Thank you Paul. The form is on its way.

Views

491

Likes

0

Replies

0
How to Deal with a Large Form
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Hello all. I have created a very large form using LiveCycle, which utilizes quite a bit of scripting. Unfortunately, as more and more data is added, the form becomes slower and slower, to the point where a user spends more time waiting than actually filling out the form. This is clearly unacceptable, so I'm looking to remedy this. One thought I had was to split the form up into several sections (the format of the form allows this without trouble). I have a few concerns related to this. First, fo...

Views

882

Likes

0

Replies

2
Re: How to append new rows in a table with Javascript ?
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Rui's answer will create copies of the entire table. There may be times where thsi is what you want, but you asked about creating new rows. If your new row is a copy of one of your existing rows, then you could use_RowName.addInstance(1);(the underscore at the beginning invokes the instance manager). Is this what you're looking for?

Views

362

Likes

0

Replies

0
Secure submission of XML data
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Is there any way to make an e-mail submission of an XML file secure/encrypted without too much user assistance? The form I'm working on will contain private data, but its users may not be the most technologically-savvy people out there, so I'd prefer this to be almost automatic, if possible.Thanks!

Views

1.0K

Likes

0

Replies

1
Re: Trying to use single quotation in display pattern for printing
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
In the place you want the right quotation mark, put this exact thing (single quotes and all)'\u2019'The way I understand things, since the quote mark is special (it affects other things in your picture code) you can't just put it in and expect it to come out. So, you use the unicode character. If that isn't the exact style of quote you want, go to http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html and find the one you want, then just change the number to match. Make sense? (By the way-I have no idea...

Views

512

Like

1

Replies

0
Re: Instanced text string value from text field value elsewhere
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
I think you're thinking of a Text object, not a Text Field. A Text Field will be outlined in orange in the Design View, while a Text object will be outlined in blue. If you're using a Text object, then you can't write scripts on it, but you can alter it by scripts. Otherwise, you can just use a Text Field with no caption (or a caption if you need it, I guess) and make it readOnly or Protected in the Value tab of the Object palette. You can write whatever scripts you want on a Text Field. Does th...

Views

351

Likes

0

Replies

0
Re: Question regarding paths
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Is it the font.fill.color.value that you have in the one but not in the other (I don't know enough about addresses to see any reason why the one doesn't work if this isn't the problem)?

Views

361

Likes

0

Replies

0
Re: dynamically generate multiple instances of same subform
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
"So to reference a field in the first subform, or a field in the second subform, I would just index into the array, perhaps something like _Accounts_Subform[0].fieldName?"I think that's how it's supposed to work, but my luck with that has been mixed. If there's only one instance of a subform you don't need to use the [0] to reference it."Also, I've never referred to an object using the underscore (_Accounts_Subform vs. Accounts_Subform). What does the leading underscore mean? Usually I just crea...

Views

690

Likes

0

Replies

0
Re: Sum and display messagebox
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
I figured it out. Here's the code I'm usingvar sum = 0;for (var i = 0; i < _Body.count; i++) { sum += Body.all.item(i).Field_Name.rawValue;}this.rawValue = sum;if (sum > 100) { xfa.host.messageBox("The percentages you have entered sum to more than 100%. Pleace check to ensure you have not made an error.", "Error", 0, 0);}

Views

515

Likes

0

Replies

0
Re: dynamically generate multiple instances of same subform
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Sure, it's not too hard once you know what you're doing. First, make sure all the "parent" subforms of your subform are set to be "Flowed" in the Object tab, and that your subform is set to "Repeat Subform For Each Data Item" in the Binding tab. So, your user inputs the number of accounts they have in a numeric or text field (we'll call it Number_of_Accounts). At this point, you could have the form generate the number of instances of the subform you want when the user exits this field, or you co...

Views

655

Likes

0

Replies

0
Sum and display messagebox
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Okay, so I need to sum the values of a particular cell in a table, display that value, then display a message if they sum to more than 100. I tried to use javascript, but I couldn't figure out how to make a sum function. With FormCalc the sum function is built-in and works perfectly, but I can't get the message box to work. Here's what I have so far (in the calculate event):Sum(Body[*].Percentage_of_Interest)if ((Sum(Body[*].Percentage_of_Interest)) > 100) then xfa.host.messageBox("The percentag...

Views

1.3K

Likes

0

Replies

1
Re: How to bold a one word in a textfield
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Thanks for your help! It looks like this will do what I need. Question-is it necessary to import the XML data from somewhere else? I've cut down the script so the only part I'm using istxtOutput2.value.exData.loadXML(exdataTemplate.rawValue,1,1);but I'd prefer it if I didn't have to have a text field floating around my form for the sole purpose of holding XML data. Is it possible to put the XML data in the script editor and get it to work? Is some command other than loadXML necessary? Thanks

Views

10.0K

Likes

0

Replies

1
Re: How to bold a one word in a textfield
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
I'm having the same issue. I'd like to have a single word bolded, and I need to accomplish this using a script. I can find references online to a JavaScript bold method, but I'm at a loss as to how it is applied in LiveCycle. Anyone have any ideas?

Views

10.0K

Likes

0

Replies

5
Radio Buttons, Global Binding, and Change Event
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
I have a pair of radio button groups with the same name that I have set to Global binding. The radio buttons in these radio button groups have script in the change event. The problem is, when I click on a button in one group, it doesn't fire the change event in the other one, even though the corresponding button changes. I can work around this, but I'm curious why this doesn't work.

Views

1.6K

Likes

0

Replies

4
Re: "if (paginated . . .)"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Thanks! At first I didn't think making it a Date/Time Field would work because I didn't think you could put anything but dates and times in it, but I guess you can use it like a regular text field! Of course, it yells at you because your text can't be formatted like a date the way the picture code is telling it to, but that's a small price to pay.

Views

510

Likes

0

Replies

0
Re: "if (paginated . . .)"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Thanks Paul! I was able to adapt your suggestion, and I have the basics figured out. Quick questions-I'd like to format the date that comes out on the second page the same way I have it formatted in DateFieldName rather than the default way, which is YYYY-MM-DD, but when I try to use the picture code date{M/D/YYYY} it gives me an error, because I'm trying to use a date picture code in a text field. How do I work around this? Second, when I first tried this I set the text field's access to "readO...

Views

523

Likes

0

Replies

0
"if (paginated . . .)"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
I need to figure out how to make the rawValue of a textfield in a table header change when that header is repeated on the next page. I have a table where multiple instances of a row can be added, and it could cause a page break. When this happens, I want to take some information the user will have already entered and change the value of the textfield to that. untitled_2 shows what the first few instances should look like, and untitled_3 shows what I want to show up as the header after a page bre...

Views

1.5K

Likes

0

Replies

4
Just Curious. . .
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
So, when you're writing a script, if you precede the name of an object by an underscore you invoke the instanceManager (i.e. if your object is called "Thing", then _Thing invokes the instanceManager for Thing). However, you can also begin an object name with an underscore. So, say I had an object called "Thing" and another object called "_Thing". If I were to type in _Thing how would LiveCycle decide whether I was talking about the object _Thing or whether I was trying to invoke the instanceMana...

Views

798

Likes

0

Replies

1
Another Request
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Would it be possible to add a page navigation tool to the Preview PDF tab? It's a pain to have to scroll through pages and pages of a form, and the scroll bar on the right isn't very user-friendly.

Views

582

Likes

0

Replies

0
Re: Border for the Caption of a Text Field
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Thanks for your suggestion! I just messed with the Appearance attribute and now it looks the way I want it!

Views

1.1K

Likes

0

Replies

0
Re: Access changed to "readOnly"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
I figured it out-I just put the script in the radio button group's layout::ready event rather than the subform's layout::ready event. For some reason my radio button groups have values 1 and 2 (1 is yes, 2 is no). I'm not sure whether I set it that way or if it's a quirk in the way my program is set up, but it works, so I don't really care.

Views

523

Likes

0

Replies

0
Re: Access changed to "readOnly"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Thanks, Niall and Paul, for your help. Everything is working except the " Yes_No_Base.rawValue = "2"; " thing. I tried putting it before the "xfa.form.recalculate(1);" line, but it didn't help. Any other ideas? Now I understand about the calculate event and have removed all of my scripts from it. As far asI can tell everything behaves pretty much the same in the layout::ready event, and I don't get the access changed every time I mess with something

Views

529

Likes

0

Replies

0
Border for the Caption of a Text Field
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Does anyone know of a way to get the border between the caption of a text field and the value section to be visible to a form user? It's a bit confusing when someone enters a field and there's no line of demarcation between the caption, which they can't edit, and the value, which they need to edit.

Views

2.1K

Likes

0

Replies

2
Re: Repeating entire table
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
As far as I can tell, adding instances of a table is exactly the same as adding instances of a subform. Just set the table to "Repeat for each data item" in the binding tab, then script a button (or whatever) with_Table1.addInstance(1);xfa.form.recalculate(1);

Views

333

Likes

0

Replies

0
Re: Access changed to "readOnly"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Unfortunately, the objects I'm scripting don't have a Value tab under the Object tab. I can't figure out any way to do this stuff outside the calculate event. For example, I'm scripting buttons to change in height based on the height of a subform, so I put something likethis.minH = (xfa.layout.h(Subform, "in")) + "in";in the calculate event. The button's size needs to adjust every time the subform's height changes, so the calculate event seems to be the only place to put it. The other thing I'm ...

Views

528

Likes

0

Replies

0
Re: Access changed to "readOnly"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Another update-it does this when I modify scripts in the "calculate" event of subforms. Are there some items that just don't automatically support scripts in the "calculate" events, or is it always automatic that objects with scripts in the "calculate" event are made readOnly?

Views

520

Likes

0

Replies

0
Re: Access changed to "readOnly"
Avatar
Ignite 20
Level 4
AJP256
Level 4

Like

1 like

Total Posts

85 posts

Correct reply

2 solutions
Top badges earned
Ignite 20
Give Back 50
Ignite 10
Give Back 25
Give Back 10
View profile
AJP256
- Adobe LiveCycle
Update-now on any of my buttons with scripts in the "calculate" event the access gets changed when I change a script in the "click" event as well. This is really annoying!

Views

533

Likes

0

Replies

0
Likes given to
Likes from