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

KAKristensen
KAKristensen
Offline

Badges

Badges
16

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
1

Posts

Posts
85

Discussions

Discussions
3

Questions

Questions
82

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by KAKristensen
Customize the badges you want to showcase on your profile
Re: Remove instance and hide subform - Adobe LiveCycle 18-06-2013
It seems to work.You're wonderful Thanks a lot.

Views

295

Likes

0

Replies

0
Re: Remove instance and hide subform - Adobe LiveCycle 18-06-2013
Hi GeneveXThe parenthesis didn’t change anything. So I have tried using a variable. Just a simple statement to start with, to see if I could identify the number of instances. And here seems to be a problem.I put a statement in a button that returns a message box. var nPerson1 = Personer.Person1.instanceManager.count if (nPerson1==0) { xfa.host.messageBox("There are no instances"); } else { xfa.host.messageBox("There are more instances"); }It works fine if there are instances, but if there are no...

Views

264

Likes

0

Replies

0
Remove instance and hide subform - Adobe LiveCycle 14-06-2013
Hi everybodyI have an issue with the instance manager.I have a repeated subform containing a delete button. The delete action works fine until I delete the last instance as I want the action, not only to delete the last instance, but also to hide the entire subform.I use this script on the click event:_Person1.removeInstance(this.parent.parent.index);I tried to put this on the MouseUp: (found it here: http://forums.adobe.com/message/4137110#4137110)if (this.parent.parent.instanceIndex == this.pa...

Views

1.6K

Likes

0

Replies

4
Re: Replace Line Feed a field with imported data - Adobe LiveCycle 27-06-2012
Hi,I tried - it didn't work. So we have desided to deal with the new line issue prior to import.Thanks anyway, Niall. 🙂

Views

172

Likes

0

Replies

0
Replace Line Feed a field with imported data - Adobe LiveCycle 21-06-2012
Hi, I’m trying to replace a line feed in a form field where data is imported to the field.I can make the replace function work when typing into the field, but I can’t figure out how to make it work on imported data.This is the script I use:if (xfa.event.newText.match(/[\n]/) ){xfa.event.change = "LF"} Regards,Kirstine

Views

594

Likes

0

Replies

2
Re: Error in encoded data in 2D barcode - Adobe LiveCycle 21-11-2011
I have now been able to reproduce the error. The data get encoded wrong when the form is filled out in Adobe Reader 8. (Or at least in Reader 8.2 which is the version I have for testing).The easy way out for me would be to ask all the clients to upgrade Adobe Reader but that is not practically posible, as we have thousand of clients using this form. Would it be posible to script my way out of this?Kirstine

Views

312

Likes

0

Replies

0
Re: Error in encoded data in 2D barcode - Adobe LiveCycle 10-11-2011
Steve,The format in the barcode i delimited.Kirstine

Views

316

Likes

0

Replies

0
Error in encoded data in 2D barcode - Adobe LiveCycle 09-11-2011
Hi, I have been met with a strange problem. I have a form with a 2D barcode. The barcode is a pdf417 barcode and the character encoding is ISO-8859-1.Often the field data include special characters as Æ – Ø – Å – Ü Most of the time everyting is fine. But now and then (I guess one in a thousand) it seams that the encodeding of the special characters get wrong. e.i in the form field the data is ”Ørskov” but the barcode data says ”Ãrskov”. I have not been able to reproduce the error in house but I ...

Views

3.6K

Likes

0

Replies

3
Re: Insert an additional character to a text field value - Adobe LiveCycle 24-10-2011
I found a useful script here which made it posible for me to make the function I wanted.var myRegex = /\d{6}[a-zA-Z]{4}/;if (this.rawValue != null || this.rawValue != '') if (this.rawValue.match(myRegex)){ var nChoice = xfa.host.messageBox("Did you mean 999999-AAAA?", "Messagebox title",2,2); if (nChoice === 4) { function isEmpty(str) { if(str == null || str.length == 0) { return true; } return false; } try { var vEID = this.rawValue; if (!isEmpty(vEID)){ this.rawValue = vEID.substr(0,6)+"-"+vEI...

Views

202

Likes

0

Replies

0
Re: Making rawValue text data appear as Upper Case, Sentence case etc - Adobe LiveCycle 24-10-2011
Useful script. I was wondering if it is posible to extend the script to set each first character of a word to upper case and the rest to lower case, if there are several words in the field i.e. ”james brown” will be set to ”James Brown”and “JAMES BROWN” wil be set to”James Brown” I tried this:uC.substr(0,1).toUpperCase()+""+uC.substr(1).toLowerCase();But this only sets the first character to upper case and the rest of the field to lower case. How do I acces the next word?Kirstine

Views

827

Likes

0

Replies

0
Likes given to
Likes from