since ‎24-11-2013
‎10-12-2019
Brian3_14
Level 1
Recognize end-user hitting escape key? Brian3_14 - Adobe LiveCycle
Hi all - Created a toggle button to enter/exit out of full screen.But if the end-user hits the "esc" key to exit full screen, the click event of the toggle button obviously doesn't fire.Using:if (app.fullscreen == false)....in the layout ready event will work to identify if we are not in full screen and, if we are not in full screen, run the code to switch the button's caption and tool-tip values to their correct values.But that only happens when the layout ready event fires.Anyway to determine ...
673
Views
0
Likes
0
Answers and Comments
Re: Opening XFA dynamix form in somethign other then adobe reader Brian3_14 - Adobe LiveCycle
Hey Radz and all:Did you ever get a response/find a solution regarding the custom _pagezerocontent disappearing from an XFA-based PDF once it was reader extended?Been messing around all day with it and not having any luck.Tried updating LC to Service Pack one - which does allow for the _pagezerocontent - but once reader extended, we're back to the "Please Wait..."Ugh. Thought I was rid of that damn confusing default language.B
1026
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Hi Si:Sorry for the delay on my part. Here's where I'm at. Good news first, then the bad news - so don't get exited.Good News1) WAS able to get the color working. It was the "" issue discussed above.Annoying, but workable News2) Correct. The custom _pagezerocontent value disappears once the AEM Forms re-opens the PDF. (You won't see it - the value will be empty under Form Properties.) If you change and save the PDF, you have to add the _pagezerocontent each time.The Really Bad NewsIf you Extend ...
1074
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Si - Forgot the story. It's a cautionary tale regarding quotation marks.The value field for the custom properties is just a small field where you place the loooooooooooooooooooong string of code --- so you can't see all the code at once.I was running AEM inside a virtual windows 7 machine on a MAC and using the Mac TextEdit to try and write the code.The quotes (" ") in Mac's TextEdit weren't translating over in AEM as quotes. That's why the code kept busting. Ugh... lesson learned. And a big FYI...
1035
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Hey SI -More success. A question and then a kinda-funny story regarding what my issue above was with the code.The question:1.) Does AEM not truly "save" the custom property? I noticed that if you: a) Dropped code into the value. b) Saved the file (I'll call it "TestPageZero.pdf" c) Closed TestPageZero in AEM. d) Opened TestPageZero with a non-Adobe PDF application. (Confirm it works.) e) Re-open Test Page Zero in AEM.The custom property we created is deleted.Now, if you just just CLOSE the file ...
1035
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
SI - So far so good. Simple editing has been accomplished but struggling with the format. Any guides/links as to how to write the code? Seems to be roughly CSS based but not working as expected. For example, can't add a color to a span or add a top-margin to a .Thanks again!
1030
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
SI - Wow. That's a great find. Downloaded and will be experimenting with this weekend. Will keep you in loop!Thanks!B
1024
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Hey Radz - Never thought of that. Will check experiment with today. Thanks!B
1035
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Thanks, Radz. Gut instinct was telling me I was reaching on that one...Did some testing using Acrobat to put a password on a PDF vs the LCD password feature. Either way, even using Acrobat's 256 AES, those free sites strip the passwords. Grrrr. Or am I missing something?Side note - or question, rather on the "Please Wait..." shell message: any way to change the text of it?Would be nice to tell people from the start: "Woops! Wrong PDF application. Please use Acrobat or Acrobat Reader to open this...
1022
Views
0
Likes
0
Answers
Re: Validation / Reset Functions, easy to manipulate and to change Forms!!!! Brian3_14 - Adobe LiveCycle
Magus - Just stumbled across this. Really nice work! Thanks for sharing!B
8360
Views
1
Like
0
Replies
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Hi SI:Thanks for the post. Sometimes it's just good to bounce ideas, ya know? The goal is to prevent the dynamic form from being modified.Thanks to Radzmar, his code can be used to essentially disable the form in Reader/Acrobat if the LCD created password has been stripped. (Technically, it "opens" but then it immediately closes itself again. Whole thing happens pretty quickly. Radz rules.) But the javascript is written for Reader/Acrobat. Livecycle will still open it.I'm wondering if a line(s) ...
1022
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Hi Radz - Thanks again for the response. Have more than a sec to write this time so following up.Your code works great. Placed in the right location, and if javascript is not disabled, the PDF will open and then close again if no password is in place.Is there any way to programmatically do the same but in LCD? So If no password on the document, not even Livecycle will open it? Know it sounds like a stretch - using LCD to write code so LCD won't open it if there's no password on it the next time ...
1022
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Ah! Well done, Radz and thanks much for ALL your posts. More to follow, just a quick thanks and wanted to mark as a "Correct"!B
1030
Views
0
Likes
0
Answers
Re: Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Follow up: regardless of the presence of a doc open or permissions password, this.securityHandler seems to always return null...Hmmm....
1022
Views
0
Likes
0
Answers
Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
(repost from different group)Hi all - I'd like to use javascript to "hide" my Livecycle Designer form on open if a password for the pdf is NOT present. (If someone strips the password, at least I can make it more annoying for them.)I understand that if javascript is not enabled on the end-user side, the PDF will still be visible. But that's ok. The PDF is javascript heavy and only useable if javascript is active.I've had some success, I think (lol), with "securityHandler". If I add a password in...
6406
Views
0
Likes
17
Answers and Comments
Hiding contents of PDF based on NON-existence of a password? Brian3_14 - Adobe LiveCycle
Hi all - I'd like to use javascript to "hide" my Livecycle Designer form on open if a password for the pdf is NOT present. (If someone strips the password, at least I can make it more annoying for them.)I understand that if javascript is not enabled on the end-user side, the PDF will still be visible. But that's ok. The PDF is javascript heavy and only useable if javascript is active.I've had some success, I think (lol), with "securityHandler". If I add a password in LCD to the form and then ope...
736
Views
0
Likes
0
Answers and Comments
border.fill.color.value is leaving an edge inside a table cell? Brian3_14 - Adobe LiveCycle
Hi all,Attempting to use: (fieldname).border.fill.color.value to highlight a decimal field cell inside a table.And this works on new tables just fine - but not on the table I am currently working on.Messed around with:ui.oneOfChild.border.fill.color.value as well with no luck'played with margins, turning border on and off - still no luckDid I turn something on accidentally? Any thoughts would be great.Thanks,Brian
661
Views
0
Likes
0
Answers and Comments
Re: Use xfa.host.beep to trigger two consecutive beeps? Brian3_14 - Adobe LiveCycle
Copy all.  Thanks, as always, Sensei.Best,Brian
984
Views
0
Likes
0
Answers
Re: Use xfa.host.beep to trigger two consecutive beeps? Brian3_14 - Adobe LiveCycle
Bruce -Thanks for the great response; works perfectly.As a follow-up, could xfa.host.beep(1) be placed within the code for a custom dialog? So rather than calling the beep first, then triggering the dialog box, just place xfa.host.beep(1) within the dialog code so when the dialog box appears, the beep is triggered? I've tried placing it in various locations within a dialog's code without out success.Thanks much again.B
988
Views
0
Likes
0
Answers
Use xfa.host.beep to trigger two consecutive beeps? Brian3_14 - Adobe LiveCycle
Seems like this should be pretty straight forward but apparently not.I've tried various combinations, placing xfa.host.beep(1) in:- consecutively in the click event of button;- separately in the mouseUp and click event;- placing xfa.host.beep into a function and calling the function twice- calling the function then xfa.host.beep(1);Even tried xfa.host.beep(1) in the click event of Button1 and then executing the click event of hidden Button 2, which contained xfa.host.beep(1).Any work around sugg...
1761
Views
0
Likes
4
Answers and Comments
Re: Identify Windows Version with Javascript? Brian3_14 - Adobe LiveCycle
Copy that and thanks.And I thought the width and height elements of a static text object HAD to be defined for it to exist?In my case, some static text objects are multiple lines. Rather than use separate static text elements (spacing between the elements is too large) I was using \n to force another line. Doing this, however, forced me to define (and increase) the height of the element so both lines are visible.Would you recommend something different?I experimented with "multiline: true" but al...
1070
Views
0
Likes
0
Answers
Re: Identify Windows Version with Javascript? Brian3_14 - Adobe LiveCycle
Hi George:Just checking to see if you had any luck with those dialog box images being pixelated in DC and any possible work around.Had a thought about it, too. If you look at those images from my other post (Acrobat Reader DC - Bug with Dialog Boxes Containing Images?), the entire dialog box itself seems to be larger in length/width in DC. Could DC be increasing the scale the entire dialog box somehow? I also noticed that the height of static text lines sometimes needs to be adjusted for DC. For...
1077
Views
0
Likes
0
Answers
Re: Identify Windows Version with Javascript? Brian3_14 - Adobe LiveCycle
No bug report submitted yet. Still a newbie at all this so wanted to confer/confirm with others before reporting something.Thanks again for the reply and checking/testing. Sad that images are all going to be blurry. =(B
1075
Views
0
Likes
0
Answers
Re: Identify Windows Version with Javascript? Brian3_14 - Adobe LiveCycle
George,Not what I was hoping to hear but thanks so much for the reply. I asked because there's pixelation happening to images in custom dialogs when opened using Reader DC on Windows 8.1. Doesn't look like it's happening on 7 or MAC.Any thoughts or suggestions?Best,Brian
1089
Views
0
Likes
0
Answers
Identify Windows Version with Javascript? Brian3_14 - Adobe LiveCycle
Hi all:app.platform will get us the operating system. Is there javascript to take it one step further and determine the version - ie Windows XP, 7, 8, 8.1?Thanks.B
3880
Views
1
Like
7
Answers and Comments
Re: A new day for PDF forms on Mobile? Brian3_14 - Adobe LiveCycle
Been playing around with DC as well - haven't gone into signing yet though. Fingers crossed.
664
Views
0
Likes
0
Answers
Re: Pre-Populate Dropdown based on information selected in another dropdown Brian3_14 - Adobe LiveCycle
In the exit event of the first State field, using Javascript, something like this should work:State2.rawValue = this.rawValue;State3.rawValue = this.rawValue;State4.rawValue = this.rawValue;...where "State2", "State3", etc. are references to the other dropdowns you want to populate with the same information from the first state field.Be sure to set the binding values in the BINDING tab of the dropdowns to the same in each dropdown,Brian
581
Views
0
Likes
0
Answers
Re: Acrobat Reader DC - Bug with Dialog Boxes Containing Images? Brian3_14 - Adobe LiveCycle
Update: At least on one test of Windows 7 Home Premium - no pixelation. FYI.
1042
Views
0
Likes
0
Answers
Re: Acrobat Reader DC - Bug with Dialog Boxes Containing Images? Brian3_14 - Adobe LiveCycle
Little easier; picture's worth a thousand; etc.Shortcuts to zoom in/out further for most web browsers: ("ctrl" & "+") or ("ctrl" & "-");
1029
Views
0
Likes
0
Answers
Acrobat Reader DC - Bug with Dialog Boxes Containing Images? Brian3_14 - Adobe LiveCycle
Hi all -Been testing Reader DC. Only took a couple of minutes to adjust to the new interface; pretty slick and intuitive.Noticed a potential issue that I wanted to warn/share/prob solve with the community.I was putting Reader DC through it's paces with a XFA PDF that has some dialog boxes, some of which even had images in them. (Thanks again to BR001.)The dialog boxes with images look great on Acrobat & Reader 9/10/11 (WIN & MAC) - images are clear; no pixelation.Reader DC on MAC appears to be f...
2012
Views
0
Likes
2
Answers and Comments
Likes from