since ‎07-08-2013
‎12-01-2021
Magus069
MVP
Re: How to display Date-picker months and days in French...
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there,I may assist in french if you wish, is the software locale in french or english?As far as I'm aware, the date picker is based on the software. The date picker is software embed, different for Adobe Reader, Foxit or Power PDF.It should change based on the selected software language.

Views

39

Like

1

Replies

0
Re: Using subform as alternative to AcroForm Dialog box
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Comment by error, can't remove... 

Views

55

Likes

0

Replies

0
Re: Using subform as alternative to AcroForm Dialog box
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Well, I dont think you need a manual list of all overlapping elements, you could simply have a "Exception Array" in which you will insert the parent's name of the overlapping elements. Therefore, when looping throughout the form and saving the access state of each element, you can refer to the Exception list to avoid verifying their access state. The Exception list can be constructed within a script object at the initialize or docReady event of each overlapping element's parent. You simply need ...

Views

57

Likes

0

Replies

0
Re: Remove gray highlight area from check box
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, if what you are trying to do is to remove the "highlight" of fields which the application is applying by default to all the filling fields there is one line of code which will do exactly as you wish, but it will also apply the setting to the whole form. //False: remove highlight of all fields within the form //True: apply highlight of all fields within the form app.runtimeHighlight = false; The user can still remove the highlight by changing the setting using the application. Hope this...

Views

35

Likes

0

Replies

1
Re: Using subform as alternative to AcroForm Dialog box
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, When making your subform visible, you could execute a function to set all other fields to be read only until the user closes the subform "dialog"?

Views

87

Like

1

Replies

4
Re: Displaying contents table twice, on different pages
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, Changing objects from one location to another may create problems, because the reference_syntax is not the same.If the issue is that your code is not working, you might want to review it all to make sure it all works accordingly with the new reference objects.If you would provide more details, such as what is not not working, is there any error displayed in the JavaScript Console... it would be easier to investigate and narrow the issue you are having.

Views

38

Likes

0

Replies

0
Re: singnature field unfillable
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, Please provide more details, such as,what kind of signature field are you using;is it a dynamic or static form;what properties the signature field has in the Object > Signature tabIs the signature field working before you enable the Reader Extended PDF optionsIf possible would you provide a template PDF with the error you are experiencing, so it would be easier to help you with this issue.

Views

35

Likes

0

Replies

0
Re: if statement in formcalc or javascript
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, There is not much details of what you are trying to accomplish here, based on what you have provided, here is how I would achieve this.In the calculate event of the field Table1.Row7[0].Cell6 you would enter the following syntax://intPercentage should be the reference syntax that can retrieve the value up above. var intPercentage = Table1.Row1.Cell6.rawValue; //Cell5 or Cell6... it is not really obvious which field you are using. if (intPercentage == 12 || intPercentage == 0.12){ //12 ...

Views

70

Likes

0

Replies

2
Re: text options (bold, italics) in forms
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, Be aware that using this functionality may have an effect on copy pasting into the field.The result format may differ with the source formatting from the paste function.

Views

170

Like

1

Replies

0
Re: Javascripting conditional signature fields
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, this seems to be a bit confusing... You should be able to create your own conditions and statements, if I provide you the JavaScript code to verify if a signature field is signed. //Use this with signature field within the formReady event (checks if field is signed only when form is opened or re-layout) [event.target.getField("form1[0]...")] var oSignInfo = event.target.getField("form1[0].Page1[0].frmSignature[0].digSignature[0]"); //This function can be stored in a script object funct...

Views

178

Likes

0

Replies

0
Re: Page header on Master Page
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there,In your Master Page, the object called Body1 is the "Content Area" in which the form will appear.So if you resize the object on top of the Master Page, it should lower your form to where you specify it. I hope this will help.

Views

159

Like

1

Replies

0
Re: Script to verify value is in list box
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, to search for a specific value in a list box, simply have a loop iterate through each items and compare the displayed value to "Supplier Check Sheet"like the following:var boFoundValue = false; for (var i = 0; i < ListBox1.length; i++){ var strOneItem = ListBox1.getDisplayItem(i); if (strOneItem.indexOf("Supplier Check Sheet") > -1){ //If the string value is found in any displayed value from the listbox boFoundValue = true; } } //Now depending on the boolean value, you can disable digi...

Views

160

Likes

0

Replies

0
Re: HOW TO CALCULATE THE GRANDTOTAL OF SUB-TOTALS FROM NESTED TABLE?
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, can you provide a screenshot of your hierarchy along with your code for that total field?

Views

163

Likes

0

Replies

0
Re: Array of repeatable fields in dynamic table
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, By the look of your variable statements, I think you're trying to change the inital array value that resolveNodes() has returned,Which is why you are ending up with only 2 length array. //This section extract an array of items to retrieve a value directly to the designated object var monName = xfa.resolveNodes("ProductData.MonitorProductList.Row1[*].MProduct"); var monDesc = xfa.resolveNodes("ProductData.MonitorProductList.Row1[*].MDesc"); var monPrice = xfa.resolveNodes("ProductData.M...

Views

175

Likes

0

Replies

0
Re: Auto calculate end date
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
FormCalc is good way to do it, I almost forgot about it. Although, don't assume months are specific number of days... as of February is not a full month and for the rest there's 7 months with 31 days and 4 months with 30 days... counting months in days may result in errors. It all depends how it should be calculated.Also, I've sent you a message directly to you because for some reason the forum would not let me insert any new answer.

Views

4.3K

Likes

0

Replies

0
Re: Auto calculate end date
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Alright, well first of all you'll have to forget all you know about this.getField() method when using Dynamic Fields.Dynamic forms are using XPath or "somExpression" to access different fields. You can access any field's path by having your text cursor in the JavaScript editor and then use the Ctrl+Left_Click on any object in the design and this will insert the reference syntax based on the current object's event you are accessing the wanted object.You can also use the common "this" to access th...

Views

3.3K

Likes

0

Replies

0
Re: Auto calculate end date
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Alright, well first of all you'll have to forget all you know about this.getField() method when using Dynamic Fields.Dynamic forms are using XPath or "somExpression" to access different fields. You can access any field's path by having your text cursor in the JavaScript editor and then use the Ctrl+Left_Click on any object in the design and this will insert the reference syntax based on the current object's event you are accessing the wanted object.You can also use the common "this" to access th...

Views

3.3K

Likes

0

Replies

0
Re: Auto calculate end date
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Alright, well first of all you'll have to forget all you know about this.getField() method when using Dynamic Fields.Dynamic forms are using XPath or "somExpression" to access different fields. You can access any field's path by having your text cursor in the JavaScript editor and then use the Ctrl+Left_Click on any object in the design and this will insert the reference syntax based on the current object's event you are accessing the wanted object.You can also use the common "this" to access th...

Views

3.3K

Likes

0

Replies

0
Re: Auto calculate end date
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Alright, well first with dynamic PDFs you will have to forget all you know about using this.getField(), this does not work anymore, with some exceptions.If you wish to retrieve the value of a field you must use the xPath or somExpression of a field to be able to access it.While your text cursor is in the JavaScript editor, you can use the Ctrl+LeftClick command on any object in the design to automatically write the reference syntax for you.While in the event of the object that you want to access...

Views

3.3K

Likes

0

Replies

0
Re: Auto calculate end date
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, First let's try to find a solution for your first issue where you can't change the date.When you were using this code to change the date within Adobe Pro, you were certainly creating Static PDFs which is using a different syntax than Dynamic PDF.So my question to you, is do you know if you still are working with Static PDFs or is this a Dynamic PDF? If you were to display the field's value, when it is not null, using the following:app.alert(this.getField("StartDate").value); What is th...

Views

4.4K

Likes

0

Replies

1
Re: Validate Field based on String length
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
When using rawValue , it will need you to verify first that the rawValue is not null. So, technically you need to verify with a if statement first that the rawValue isnt null, if it is null, then you can consider the validation to return false. Otherwise, if the rawValue is different than null, that is when you can handle the data and verify its length.

Views

4.7K

Likes

0

Replies

0
Re: Validate Field based on String length
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, if you are using xfa.event.newText, it should be within the "enter" event. Any other event will need to use this.rawValue instead. I hope this will help

Views

4.8K

Likes

0

Replies

2
Re: Unable to make Print and Clear button on PDF within b...
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
I am not familiar with InDesign, but I'm pretty sure that creating PDF forms using InDesign does not create XFA based forms. It is probably creating PDF using AcroForm standardized as ISO 32000.

Views

6.2K

Likes

0

Replies

0
Re: Adobe Life cycle Designer- QR code Fix Size - SAP
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, I'm not really savvy in the QR Code subject, therefor I've looked up information related to LCD and QR Codes... Technically, if you want to handle the height and width of the QR Code using LCD, somehow you'll have to handle an algorithm based on data provided to the QR code to change a specific property. Since a QR Code and PDF417 is two different entities... I am not sure if it is a good idea to readjust the size of the code bars. Your best shot at this would be modifying the followin...

Views

8.3K

Like

1

Replies

0
Re: Unable to make Print and Clear button on PDF within b...
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Unfortunately, Google Chrome is no longer compatible with Acrobat software. Any JavaScript within a PDF is no longer supported by the browser. Here are some tips related to browsers if some can be handy for you.https://helpx.adobe.com/ca/acrobat/kb/pdf-browser-plugin-configuration.html Speculations about Chrome with PDF JavaScripthttps://answers.acrobatusers.com/Chrome-Javascript--q288206.aspx

Views

6.3K

Likes

0

Replies

0
Re: FormCalc conditional sum problem
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, I can't directly give you the solution at hand without the object references. Without the hierarchy, all I can give you is the syntax on how to make this work.So technically, you need a calculate event for each fields which you need to input a calculated value or 0$, both will have the same syntax, but different outcome. For the Amount Due Traveler it should look something like the following:Amount Due Traveler :: calculate - FormCalc if (Expenses gt Advances) then ;Calculate Amount Du...

Views

3.6K

Like

1

Replies

1
Re: Unable to make Print and Clear button on PDF within b...
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, you must have something else that would interfere with this line of code...Although, xfa.host.resetData(), doesn't have an 's' at the end of "host".I'm trying the same thing on a blank static PDF form within IE and it works fine. I tried "Client" or "Client and Server". Look around if you can find any other code. Also... maybe you could test something out, verify what is the viewer type when opening the PDF with the browser.Use the following line to display what is the application hand...

Views

6.3K

Likes

0

Replies

4
Re: How to reset signature field after signed?
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there, It is simpler than you think actually.As long as the field does not lock all fields and the button is still usable, you can use the resetData method with the signature field's somExpression as follow:xfa.host.resetData(Row2.SignatureField1.somExpression);

Views

2.6K

Like

1

Replies

0
Re: Issue with FormCalc script
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi there,By the look of it it seems like you are somehow calling calculate... I am not sure if it needs more investigation with the Hierarchy, but it looks like you have an extra line of code which would be the event itselfLook within the event and make sure that you do not have a line event duplicate like the following:I hope this will help, otherwise please provide with an image with the full content of the event, plus and image of the hierarchy.

Views

2.6K

Like

1

Replies

0
Re: How to delete thousand separators in numeric field? (display pattern)
Avatar

Magus069

MVP

Magus069
- Adobe LiveCycle
Hi Deborah,I can see that unfortunately you do not have all the patterns available within the list "Select Type"..here is what you need:This should work, let me know if otherwise.

Views

2.5K

Like

1

Replies

0