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

dcidev
Community profile dcidev Level 8
Job title here
Location here
27 BADGES
Level 8

Level 8

Learn more
Joined the community 18-07-2012 12:11:46 PM
Offline
Top badges earned by dcidev
Customize the badges you want to showcase on your profile
Re: Version Check
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Object.defineProperty is a big one for our PDFs. Can't extend the Object class with custom methods that are non-enumerable.

Views

1.1K

Likes

0

Replies

0
When attaching PDFs to a PDF, why does Acrobat/Reader open them in hidden mode?
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Hello all!I've always noticed that when an XFA PDF is being attached to an XFA PDF using the paperclip/app.execMenuItem("AddFileAttachment") method, Acrobat/Reader opens each PDF (in silent/hidden mode) after they are attached.I know this because in my console, all my pre-rendering scripts are fired for each PDF that is attached. Does anyone have any insight as to why Adobe does this (security reasons perhaps)?And of course the 64 thousand dollar question, can this be disabled? When adding many ...

Views

479

Likes

0

Replies

0
Re: Acrobat Reader DC doesnt call functions stored in script object.
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
I just tested my forms on Reader DC the other day and it called the functions in the script objects fine. Make sure there aren't any syntax errors in the script object. Some versions of Reader are more lax than others. Even the Check syntax button in Designer doesn't always highlight the error.Kyle

Views

450

Likes

0

Replies

0
Re: Data extraction from a set of text fields and more than one document
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
You can make a PDF in Designer to iterate through its document attachments to extract the data you need.Create a table with a repeatable row and button with code like this:var doc = event.target;for (var a=0;a

Views

456

Likes

0

Replies

0
Re: Can I stop a user from using File>SaveAs?
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Although you can't prevent the user from using File>SaveAs, you can always put a popup warning in the preSave event letting them know they should use your button. In the button you can set a variable that tells the preSave code that the user pressed the button as not to show the warning.Kyle

Views

564

Likes

0

Replies

0
Re: In Livecycle, How do I hide the first five numbers in a SSN and make the last 4 visible using JS, jquery, or just Livecyle?
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Try this:1) Create a hidden field ("hiddenField") to store the SSN value2) In your SSN input field under the enter event (JavaScript) put: this.rawValue=hiddenField.rawValue;3) In the same field under the exit event put:hiddenField.rawValue=this.rawValue;this.rawValue="*";for (var i=0;ii+4) this.rawValue+="*"; else this.rawValue+=hiddenField.rawValue.substr(i,1);}Kyle

Views

586

Likes

0

Replies

0
Re: Form flow in adobe livecycle designer
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Make sure the PDF is saved as a dynamic PDF. Also make sure the field is set to Expand to fit in the layout palette (if by flow you mean have the field expand to accommodate more text). Kyle

Views

480

Likes

0

Replies

0
Re: JavaScript Console Problem (only in LS preview mode)
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Restarting my computer several times seams to have done the trick. Weird though.Kyle

Views

509

Likes

0

Replies

0
Re: JavaScript Console Problem (only in LS preview mode)
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Now the same thing is happening to me...Kyle

Views

504

Likes

0

Replies

0
Re: hyperlinks in a pop message
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Hi Bruce,I didn't even know about the link_text element type. How did you find out about that? Is there a Acrobat 11 JS API reference out there I don't know about?Thanks!Kyle

Views

887

Likes

0

Replies

0
Re: Copy and paste multiple excel rowes into a fillable PDF all at once
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
The only form of data Dynamic XFA forms can import/export through the UI is XML.You have to create an XML schema and map it to both the Excel spreadsheet and your PDF through Designer. You don't have to change the look of your company's form but you do have to break it open to map to the schema.Kyle

Views

1.2K

Likes

0

Replies

0
Re: Predicates
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Maybe instead, if you want to send me an example of what you require I can try to send you a predicate that will work for you.Kyle

Views

494

Likes

0

Replies

0
Re: LiveCycle: Link or Button to Open Attachment?
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
As per what Bruce said in that thread, use the following in the click event of your button:event.target.exportDataObject({ cName: "Tips.pdf", nLaunch: 2 });where "Tips.pdf" is the file name of your PDF attachment. Kyle

Views

1.6K

Like

1

Replies

1
Re: Re: e-mail button changes email address when submitting
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
OK, here is a sure way of getting it to work with the Reader email UI:1) In your form open up the XML Source tab View>XML Source2) Go to Edit>Replace (Ctrl+H)3) Find What: tamara@psychologistsassociationa.ab.ca Replace With: tamara@psychologistsassociation.ab.ca4) Replace AllKyle

Views

580

Likes

0

Replies

0
Re: Re: e-mail button changes email address when submitting
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
You can have Reader send the form right to the user's email client. Create a new regular button and in the click event put:var oDoc = event.target;oDoc.mailDoc({bUI: true,cTo: "tamara@psychologistsassociation.ab.ca",cSubject: "Submitting Completed Forms",cMsg: "Instructions to add this form to a response file:\n1. Double-click the attachment.\n2. Acrobat will prompt you to select a response file."});Kyle

Views

583

Likes

0

Replies

0
Re: e-mail button changes email address when submitting
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Hi Tamara,It seams to be a glitch with your version of LiveCycle Designer. It should work if you manually change the auto-generated script instead of using Designer's dialog. Here's how you can do that:1) Select your email submit button and open the Script Editor (Ctrl+Shift+F5)2) Make sure you select the 'click' event or 'Events with Scripts' filter at the top left of the script editor window next to 'Show:'3) Near the end of the script (line 57 and 59) you will see 'mailto:' followed by the fa...

Views

597

Likes

0

Replies

0
Re: e-mail button changes email address when submitting
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
I can have a look if you want to upload your PDF here.Kyle

Views

598

Likes

0

Replies

0
Re: search functionality
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Bruce (BR001) has a really good example in his blog (full of other really good snippets too):Adobe LiveCycle Designer Cookbooks by BR001: Drop-Down List Control with auto-complete (Searchable Drop-Down List)Kyle

Views

469

Likes

0

Replies

0
Re: How to auto capitalize after a period in text field
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Try putting the following in the exit event of your text field:this.rawValue=this.rawValue.replace(/(^\w{1}|\.\s*\w{1})/gi, function(a){return a.toUpperCase();});Kyle

Views

466

Likes

0

Replies

0
Re: issues adding multiple items to a drop down list
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Is the spreadsheet software you're using Excel?Kyle

Views

789

Likes

0

Replies

0
Re: Paragraph construction with fillable fields
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
You can create text objects and fields and wrap them in a Flowed subform and set the Flow direction to Western Text. Also to collapse to fit you would have to put code in the exit event of your field: this.minH=".05in" or any low value measurement. Also, if there are some text objects you want to keep with fields, you can turn the text object into the caption of the field. In your example I would make 'your' the caption of your second field.Here is a working PDF of what you're trying to achieve....

Views

632

Likes

0

Replies

0
Deflate Algorithm Script
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Hello all,I am wondering if anyone here has attempted using a deflate algorithm in Designer. I am trying to extract XML from a PDF attachment without using openDataObject and that is the only missing piece of the puzzle.Currently I am trying to implement pako.js but it is pushing my JavaScript ability to its limits.Any input would be greatly appreciated.Kyle

Views

465

Likes

0

Replies

0
Re: Why is XSLT required?
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
I use XSLT to translate my forms. You can get Designer to create translation IDs associated with all your text objects and run the XDP file through an XSLT to get a list of all strings and their associated translations. You can then put it in Excel to have it translated. Once translated there's another XSLT you use with your original XDP. That way every time there's a coding or design change, you don't have to double your effort.Kyle

Views

413

Likes

0

Replies

0
Re: Get PDF Doc object from exportDataObject() method
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
I found a way of opening attachments to a specific bookmark. It ain't pretty but it works. If anybody needs the script, let me know.Kyle

Views

658

Likes

0

Replies

0
Get PDF Doc object from exportDataObject() method
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Hello all,I've been attempting to write a function to open an attachment (Data Object), which is a PDF AND have the newly opened PDF go to a specified bookmark (which would be a parameter of the function). Now, I've written most of the function already except I need the Doc object of the PDF that was opened with the exportDataObject() method. Is there an easy way of doing this? It's too bad that the exportDataObject() method doesn't return the Doc of the PDF being opened. I'd rather not use the ...

Views

856

Likes

0

Replies

1
Re: com reference c#
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Is there a reason why you can't use the Action Wizard in Acrobat? Plus, I don't think there is a security setting that allows a user to open a PDF but doesn't allow them to save it.Kyle

Views

539

Likes

0

Replies

0
Re: com reference c#
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
I've only ever needed two documents for Interapplication communication with Acrobat. I can't seam to find them online anymore so I posted them here and here.Kyle

Views

534

Likes

0

Replies

0
Re: QR Code multiline
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
I use the same version of Designer you do. It could be your QR code reader. Try using another one and see if it works. I'm using Barcode Scanners for iPhone.Kyle

Views

762

Likes

0

Replies

0
Re: QR Code multiline
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
Instead of "\n" use "\x0D".Kyle

Views

783

Likes

0

Replies

0
Re: Question on validation
Avatar
Give Back 400
Level 8
dcidev
Level 8

Likes

30 likes

Total Posts

448 posts

Correct reply

77 solutions
Top badges earned
Give Back 400
Give back 300
Give Back 200
Ignite 5
Give Back 100
View profile
dcidev
- Adobe LiveCycle
The best way to handle your situation is to store the value of your field in a variable when the user enters the field (ie before they change the value of the field).For instance, say your variable is 'storeValue', you would put in the enter event of your field, storeValue.value=this.rawValue.If your validation fails, you would script this.rawValue=storeValue.value;There are other scripting methods for undoing events that are more complex but can go a long way. Here is one by John Brinkman: http...

Views

458

Likes

0

Replies

0
Likes given to