since ‎09-05-2008
‎10-12-2019
Niall_O_Donovan
Level 8
Re: Group of radio button answers selects an outcome Niall_O_Donovan - Adobe LiveCycle
Hi, One option would be to bind a 1/0 value to all of the radio buttons: Yes = 1 and No = 0 (go to the Object > Bind panel). This way you can have an if/else statement in the calculate event of the checkbox: If (SUM of predictable group of radio buttons >= 1 AND SUM of preventable group >=1) then set the value of the checkbox to on. This way if any of the radio buttons in both groups is Yes, the checkbox will be set to ticked. Hope that helps,Niall
869
Views
0
Likes
0
Answers
Re: Palette menu buttons Niall_O_Donovan - Adobe LiveCycle
Hi, I am sorry, but I am not able to provide support for the time being. We have an extensive library of solutions to common problems and requests on our site. I would recommend having a look at this: http://assuredynamics.com/index.php/code-solutions/ and http://assuredynamics.com/index.php/blog/. Niall
1048
Views
0
Likes
0
Answers
Re: Saving Fillable Form as non-fillable PDF Niall_O_Donovan - Adobe LiveCycle
Hi, a version of the solution is available here: http://assure.ly/yDtfsMPlease review the thread as well, as there is plenty of discussion on how to implement this. Hope that helps,Niall
5047
Views
0
Likes
0
Replies
Re: Clearing an image field Niall_O_Donovan - Adobe LiveCycle
Sorry for the delay, I doubt that is the case. Can I suggest that you separate out the blocks of script into different events. For example, place the set imageField rawValue to null script in the mouseUp event and the hide script in the click event. This way the first block of script will fire completely, before you hide the object. Also use the JavaScript debugger to see if there is an error happening. Hope that helps,Niall
810
Views
0
Likes
0
Answers
Re: Clearing an image field Niall_O_Donovan - Adobe LiveCycle
Hi, I have an example here where you can have script in the click event that checks if the user is holding the Shift key. If they are, it clears the imageField: http://assure.ly/j1KdNqHope that helps,Niall
798
Views
0
Likes
0
Answers
Re: multiple check boxes showing/hiding same fields Niall_O_Donovan - Adobe LiveCycle
Hi, You can achieve this with multiple conditions in the if/else statement. For example:Where more than one chackbox has to be ticked AND the dropdown has a value "The required selection": if (Sum(Checkbox1, Checkbox2, Checkbox3, Checkbox4) ge 1 and DropDown1 eq "The required selection") then $.presence = "visible"else $.presence = "hidden"endifAlternatively, where more than one chackbox has to be ticked OR the dropdown has a value "The required selection": if (Sum(Checkbox1, Checkbox2, Checkbox...
816
Views
0
Likes
0
Answers
Re: multiple check boxes showing/hiding same fields Niall_O_Donovan - Adobe LiveCycle
Hi,I would have expected the layout to flow when using the layout:ready event.Are you setting the presence to "hidden" and not "invisible"?You may need to force a relayout, by including this at the end of thescript: xfa.layout.relayout();A better approach would be to use a Script Object and place the script therein a function. Then you could call the function in the click event of eachof the checkboxes. There are plenty of examples of script objects andfunctions. This is much better than duplica...
842
Views
0
Likes
0
Answers
Re: xfa.resolvenode returns null on one field whereas returns a node on the event of the specific field Niall_O_Donovan - Adobe LiveCycle
Hi, You are trying to resolve all nodes eg "Row1[*]". However, the syntax is xfa.resolveNodes(), not xfa.resolveNode(). Note plural. Explore this example, that builds up to referencing objects, including xfa.resolveNodes() and xfa.resolveNode(): http://assure.ly/kUP02y. Hope that helps,Niall
653
Views
0
Likes
0
Answers
Re: multiple check boxes showing/hiding same fields Niall_O_Donovan - Adobe LiveCycle
Hi,You have complete control over this. The following are various approaches if you had four checkboxes controlling the presence of a subform. All scripts are FormCalc and in the layout:ready event of the subform. Where any checkbox would show the subform:if (Sum(Checkbox1, Checkbox2, Checkbox3, Checkbox4) ge 1) then $.presence = "visible"else $.presence = "hidden"endif Where all four checkbox have to be clicked to show the subform:if (Sum(Checkbox1, Checkbox2, Checkbox3, Checkbox4) eq 4) then $...
824
Views
0
Likes
0
Answers
Re: How do I email a specific page Niall_O_Donovan - Adobe LiveCycle
Hi,I suspect that the first page uses a different master page. If this is the case, then hiding page1, will still mean an instance of the first master page is rendered. The other issue could be your pagination settings. For example, if page2 is set to Top of New Page, then this is what will be rendered. Try, Follow Previous. Hope that helps,Niall
732
Views
0
Likes
0
Answers
Re: global data dropdown populated with user-entered data Niall_O_Donovan - Adobe LiveCycle
Hi,You can loop through Table1 and then populate the dropdown in Table2 using this data. You would have script in the preOpen event of the dropdown in Table2. Here are some examples of populating dropdowns:http://assure.ly/KXAUg5http://assure.ly/jcTahKhttp://assure.ly/mP5LudHere is an example for looping through repeating rows:http://assure.ly/haaOfcLastly, here is an example for referencing objects, which will be useful for using the XFA.resolveNodes() method:http://assure.ly/kUP02yHope that he...
708
Views
0
Likes
0
Answers
Re: Accessing objects on one master page, to change all examples of that master page Niall_O_Donovan - Adobe LiveCycle
Hi, What I have done in the past is have the five logos in image obects on the Master page, that are hidden. The have a blank imageField on the master page, with the following script in the docReady event:// Set the imagefield object to read onlythis.access = "readOnly";Then sets the imageField data binding to Global in Object > Binding palette. Lastly if you have a look at this example you will see how you can set the rawValue of the imageField to be the same as any of the image objects: http:/...
670
Views
1
Like
0
Answers
Re: multiple check boxes showing/hiding same fields Niall_O_Donovan - Adobe LiveCycle
Hi Michelle,I think you could get it to work. For example if a field's visibility depended on Checkbox1 and Checkbox2, then the script for this field would sum these two checkboxes. On the other hand if a different field depended on Checkbox 1, Checkbox5 and Checkbox8, then it would just sum these. It would also work for subforms. The easiest event to use is the layout:ready event, however this is not very effective as this event fires all the time the user interacts with the form. So depending ...
822
Views
0
Likes
0
Answers
Re: Needs help with my date validation script Niall_O_Donovan - Adobe LiveCycle
Hi, One option instead of a validation script is to specify multiple date patterns in the Edit tab (Object > Field palette and click Patterns). {YYYYMMDD} | {DD-MM-YY} | {DD-MM-YYYY} | {DD/MM/YY} | {DD/MM/YYYY} | {MM-DD-YY} The Display pattern would remain the same {YYYYMMDD}Hope that helps,Niall
834
Views
0
Likes
0
Answers
Re: XML Source Error - cache property Niall_O_Donovan - Adobe LiveCycle
The issue may be when you are attempting to edit in the XML Source tab. I am not familar with using LC Designer in SAP. Is SAP injecting text/objects into the form automatically? Niall
727
Views
0
Likes
0
Answers
Re: Help with DDL Niall_O_Donovan - Adobe LiveCycle
Hi, You would need to have a script in the calculate event of DDL_A (which will set this to Read Only). if (Substr(DDL_B, 0, 3) == "123"){ this.rawValue = "Department A"; }Hope that helps,Niall
1849
Views
0
Likes
0
Answers
Re: multiple check boxes showing/hiding same fields Niall_O_Donovan - Adobe LiveCycle
Hi,Instead of having script in the click event (or what ever event) of each of the checkboxes, have a script in the fields that sums the 20 checkboxes and if this is greater than 0 (eg at least one checkbox is ticked) then show the field. A kind of example here for suming radio buttons: http://assure.ly/uiKS6f. Another "related" example here: http://assure.ly/omsURE. Hope that helps,Niall
806
Views
0
Likes
0
Answers
Re: How do I email a specific page Niall_O_Donovan - Adobe LiveCycle
Hi, Email functionality will only email the document/PDF. As a workaround, you could place script in the mouseUp event of the Email button that hides all pages and then shows the required page. You could do this using the presence property. There are some exmples here: http://assure.ly/kyMP6l and http://assure.ly/iWzzPg. Hope that helps,Niall
765
Views
0
Likes
0
Answers
Re: global data dropdown populated with user-entered data Niall_O_Donovan - Adobe LiveCycle
Hi, Global binding will not work for objects (including Dropdowns) in repeating rows. This is because while the object appears in different rows (different instances of the repeating row), they all have the same name. There is an example here, which minics global binding in repeating rows: http://assure.ly/eTOXaH. See the script in the exit event of the objects in the first table. Please note that this example is set up so that the number of rows is the same in both tables. Hope that helps,Niall
684
Views
1
Like
0
Answers
Re: Populating a Text Field based on Check Box(es) selection. Niall_O_Donovan - Adobe LiveCycle
Hi,You might be better to place the script in the calculate event of the txtFld, as then when any of the referenced fields change, it will automatically fire the script in the calculate event. There is a summary of events here: http://bit.ly/gW3RNr. Hope that helps,Niall
622
Views
0
Likes
0
Answers
Re: Mask a table column Niall_O_Donovan - Adobe LiveCycle
Hi Max, There is an example here for scrolling columns: https://files.acrobat.com/preview/acd0bd03-f873-4143-bc3a-04200c8bb021. It will show you one way to hide a complete column. Hope that helps,Niall
949
Views
0
Likes
0
Answers
Re: XML Source Error - cache property Niall_O_Donovan - Adobe LiveCycle
Hi, I suspect that your form is corrupt. You need to be careful when "editing" a form in the XML Source. If you delete incomplete sections, it may throw an error. One option may be to copy all of the visible objects into a new form. Good luck,Niall
711
Views
0
Likes
0
Answers
Re: How to deselecting radio buttons? Niall_O_Donovan - Adobe LiveCycle
Hi, Have a look at this example: http://assure.ly/j1KdNq. It works on the basis of the user holding the Shift button while clicking the radio buttons. Obviously the user will need an instruction on this. Hope that helps,Niall
916
Views
0
Likes
0
Answers
Re: Issue tabbing across page breaks in dynamic form Niall_O_Donovan - Adobe LiveCycle
Hi Eric, I have seen funny behaviour when tabbing within Preview in LC Designer. It may be picking up a read-only item in the Master Page. Good luck,Niall
732
Views
0
Likes
0
Answers
Re: Orphan table header at bottom of page when page breaks a table across multiple pages Niall_O_Donovan - Adobe LiveCycle
Hi Eric, I don't think there is a solution, not one I can think of anyway. Good luck,Niall
615
Views
0
Likes
0
Answers
Re: Counting Rows Niall_O_Donovan - Adobe LiveCycle
Hi, Have a look at this example: http://assure.ly/haaOfc. Hope that helps,Niall
768
Views
0
Likes
0
Answers
Re: Saving Fillable Form as non-fillable PDF Niall_O_Donovan - Adobe LiveCycle
Hi,If you look back up through this thread, the script is provided in an attached form. I think on page 6 of the thread. There are also screenshots showing how where to place the script object in your form and how to reference the script. Good luck,Niall
5783
Views
0
Likes
1
Replies
Re: Saving Fillable Form as non-fillable PDF Niall_O_Donovan - Adobe LiveCycle
Hi,The Lock All Fields example was created in LiveCycle Designer and cannot be directly transferred into an AcroForm (eg a form created in Acrobat). You would need to add script to a button that sets each field to read only. For example,this.getField("invoiceAmount").readOnly = true;Hope that helps,Niall
5783
Views
0
Likes
1
Replies
Re: Add new instance to the top of next page Niall_O_Donovan - Adobe LiveCycle
Hi,Adobe changed the structure of the Acrobat.com service. You should be able to access the solution by adding "workspaces" to the URL:https://workspaces.acrobat.com/#d=2f7axX-JHCdLihS*pO2QRegards,Niall O'DonovanAssure
1025
Views
0
Likes
0
Answers
Re: Mouseover enlarges text Niall_O_Donovan - Adobe LiveCycle
Hi,Have a look at this example, in particularly on the last two pages. http://assure.ly/g80MVYHope that helps,Niall
733
Views
0
Likes
0
Answers
Likes given to