since ‎06-07-2013
‎10-12-2019
yanip
Level 2
Re: preventing unautorize people to read a pdf.
Avatar

yanip

yanip
- Adobe LiveCycle
Thank you both for your answer, Ulibaehr, it is what i was already doing 'more or less' but instead of setting fields visible or hidden when the page is load i was setting the pages to hidden on preSave, this way even if the user desactivate javascript in acrobat reader he wouldn't see it.BUT using a simple macro in excel would allow to still read every elements of a form even tho their parent sub / pages are hidden. Only the elements with their properties hidden were not getting extracted. So n...

Views

716

Likes

0

Replies

0
preventing unautorize people to read a pdf.
Avatar

yanip

yanip
- Adobe LiveCycle
Hello,I work with pdf form (Acrobat Pro and LiveCycle) that contains confidential information.These pdf have to go though different level of approbation, each of em with a password created by the previous person.I was thinking of hidding the pages on save / exit of the pdf and having a javascript dialog to ask the user for the password and close acrobat if its not the right one.This way if the user has disabled javascript "to prevent the dialog box" they still wouldn't be able to see the data.Wh...

Views

1.2K

Likes

0

Replies

3
Re: Show/Hide subform using buttons
Avatar

yanip

yanip
- Adobe LiveCycle
was it giving you an error when you look at the javascript debugger.have you refresh the form using xfa.layout.relayout, although i don't think its necessary can you upload a picture of the hierarchyscreen?

Views

1.3K

Likes

0

Replies

0
Re: Show/Hide subform using buttons
Avatar

yanip

yanip
- Adobe LiveCycle
Are the subform static or you create using the table repeat option so you can create the subform once then have 5 copies?Are the button on the same hierarchy level as the hidden subform?If so something like (this.parent.subformname.presence = "visible") should do the trick.or you can use whole subformname.your probably gonna need to do "xfa.layout.relayout()" as well so that the form layout is refresh.

Views

1.3K

Likes

0

Replies

0
multiple signature showing message "Form field contain properties modification".
Avatar

yanip

yanip
- Adobe LiveCycle
I created a liveCycle form with 2 signature.The first one does not lock anything while the second one locks almost all the fields.My problem is when i put the second signature the message in the "Form field contain properties modification" appear in the signature section between the 2 signature.This message seems to include al the field of my form.It doesn't matter i close then open it again before signing or i just sign them both one after the other i get the same message.Also when looking at R...

Views

461

Likes

0

Replies

0
Re: listbox filled on the fly has index = -1 for every items.
Avatar

yanip

yanip
- Adobe LiveCycle
I have uploaded the file here.https://ufile.io/xs7gv

Views

627

Likes

0

Replies

0
listbox filled on the fly has index = -1 for every items.
Avatar

yanip

yanip
- Adobe LiveCycle
Hello i have 2 listbox that are filled on the fl using a 2 dimension array.The listbox show the value in the right boxes but no matter which item i select i always get -1 for the selectedItem.Thanks for you help.

Views

691

Likes

0

Replies

1
Re: printing form multiple time with different footer.
Avatar

yanip

yanip
- Adobe LiveCycle
Thanks Kaydobe,This idea crossed my mind, i was hoping maybe there was way to fix the pdf so it behave the same way on browser than in the adobe reader itself. When using acrobat reader it seem that every time host.print is call the process wait there until the page is either print or cancel while in the browser it doesn't.as for the flowed content i do have some as well and section where the user can add or remove inner section. and other process to make sure the page is looking properly (no ta...

Views

762

Likes

0

Replies

0
printing form multiple time with different footer.
Avatar

yanip

yanip
- Adobe LiveCycle
Hello all,I have a form that needs to be print multiple time but with different text at the bottom of each copie.As an example i would say like when you print a bill there's a copie that comes out with the mention "client copie" and another "merchand copie" and this form has autosize textbox and some subform instance can be add or remove.I figured id just change the text then print the page 4 times.this.parent.PDP.rawValue = "Copie1";xfa.host.print(1, "0", (xfa.host.numPages - 1).toString(), 0, ...

Views

1.3K

Likes

0

Replies

2
Re: Using Adobe Pro in LiveCycle preview.
Avatar

yanip

yanip
- Adobe LiveCycle
Hello alassir,I had the it deparment remove the acrobat reader software and since then its been working perfectly.

Views

2.0K

Like

1

Replies

0
Re: Using Adobe Pro in LiveCycle preview.
Avatar

yanip

yanip
- Adobe LiveCycle
Hello Dietmar,Thanks for the quick reply,Indeed disabling acrobat reader in the Toobar and Addon in IE has affected liveCycle preview behavior.If i disable it I'm asked to download / open the pdf file on my local machine.The problem still remains the same tho, i cannot access the javascript console using the "ctrl + j" key anymore.And when i open a form i have a warning "in purple" that the data cannot be saved "as if acrobat ready took over Acrobat pro which was installed before".I could open t...

Views

2.0K

Likes

0

Replies

2
Using Adobe Pro in LiveCycle preview.
Avatar

yanip

yanip
- Adobe LiveCycle
Hello all,I've been working with liveCycle Designer for the past 6 month and i never had any issues with the form preview "beside some odly crash from time to time".Yesterday the IT department installed Adobe Reader on my PC, since then if I go in preview I always get an error message that the data cannot be saved.I also cannot access the javascript debug wiindow when in preview.Is there a way to force LC to use Adobe Pro XI when previewing?I tried associating the extension of pdf and other adob...

Views

2.4K

Like

1

Replies

4
Re: How to count lines in TextField?
Avatar

yanip

yanip
- Adobe LiveCycle
I actually had to do something similar to what your looking for a couple of weeks again.For it to work tho you must use courrier character ( from what i understand they are the only for which each character has the same height but im not sure)finding height of multiLine textbox when it expands on multiple pages for (var i = 0; xfa.layout.h(txt_CompteRendu, "pt", i) > 0; i++) { totLine = totLine + (xfa.layout.h(txt_CompteRendu, "pt", i) / 10); }Basically i take the height of the textbox "in pt bu...

Views

675

Likes

0

Replies

0
Re: How to get the dimensions (h & w) of dynamic objects
Avatar

yanip

yanip
- Adobe LiveCycle
Thank you Stephen,I was also struggling on how to do that (spent the past days trying to get it to work actually) and it was that simple

Views

815

Likes

0

Replies

0
Re: finding height of multiLine textbox when it expands on multiple pages
Avatar

yanip

yanip
- Adobe LiveCycle
Finally figured it out.It seems like the textbox "txt_CompteRendu" is actually divided into multiple boxes when changing lines.xfa.layout.h actually has an option to specify the textbox indexIt the following code textHeight will take the height of the textbox if the text expand on 3 pages, it will also work if the text expand on 2 pages or is only one one page.var txt_CompteRendu = xfa.resolveNode("formulaire1.page2.sf7.table7.row7_1.Tableau22.row2.txt71_CompteRendu");var p2_lbl_rowCount = xfa.r...

Views

659

Like

1

Replies

0
Re: finding height of multiLine textbox when it expands on multiple pages
Avatar

yanip

yanip
- Adobe LiveCycle
i managed to copy the file on a free hosting site.http://s000.tinyupload.com/index.php?file_id=09992296537286432055

Views

656

Likes

0

Replies

0
finding height of multiLine textbox when it expands on multiple pages
Avatar

yanip

yanip
- Adobe LiveCycle
Hello community,A user requested me for a multiline texbox (expandable) with a column next to it that would display the row number of each line.Because every character type can have their own height i figured id convert the text to courrier as each character use the same height.My problem now is when the textbox expands on multiple pages, I can't get the total height of the textbox, only the height of the textbox on the first page Unfortunately i cannot upload the form from work for security rea...

Views

1.2K

Likes

0

Replies

2
Re: liveCycle forms dynamic table row count wrong.
Avatar

yanip

yanip
- Adobe LiveCycle
Merci beaucoup Magus069,Je vais regarder à ce niveau, j'avais aussi lu que le problème pouvais venir de 'duplicate' de nom en effet mais comme je suis nouveau avec liveCycle je voulais avoir une opinion plus professionnel.Pour ce qui est de la nomenclature, en effet jamais je n'aurais utiliser le même nom pour 2 éléments mais ce n'est pas moi qui l'ai créer.Merci pour tes conseil encore.

Views

631

Likes

0

Replies

0
liveCycle forms dynamic table row count wrong.
Avatar

yanip

yanip
- Adobe LiveCycle
Hello adobe community,I have experiencing this problem.New job (started 2 weeks ago).I was asked to look at an existing form that contain many tables and subforms.The problem is that the form initialize, this is javascript that remove the last row for some of the tables while for other table it doesn't.So on an empty form did a console.println of specific tables.instanceManager.count to see what is going on and here is the result. var sf1 = xfa.resolveNode("topmostSubform.Page1.Sous-form_2.Table...

Views

890

Likes

0

Replies

2
Likes given to
Likes from