since ‎18-05-2009
‎10-12-2019
Paul_Butenko
Level 4
Re: Acrobat versions and form Paul_Butenko - Adobe LiveCycle
Hi,You can use xfa.host.version property to define version of Reader and write if condition to prevent form opening.BR,Paul Butenko
272
Views
1
Like
0
Answers
Re: Hiding and unhiding unused sections of a form Paul_Butenko - Adobe LiveCycle
Hi,For subform which should moved under Subform tab select Content field to Flowed, this will make your subform flowable.BR,Paul Butenko
322
Views
0
Likes
0
Answers
Re: Help - Add row and remove row not working! Paul_Butenko - Adobe LiveCycle
Hi,To remove specified row you have to use functionTable1._Row1.removeInstance(ind);where ind is index of the row.You should put button delete under each row of the table, and write onClic script:Table1._Row1.removeInstance(this.parent.index);BR,Paul Butenko
261
Views
0
Likes
0
Answers
Re: Help - Add row and remove row not working! Paul_Butenko - Adobe LiveCycle
Hi,Under Object tab - Binding - Set checkbox repeat for each data item, and set max value of elements.
259
Views
0
Likes
0
Answers
Re: Removing fill color of checkbox field upon deselection. Paul_Butenko - Adobe LiveCycle
Hi,This is links about some basics related javascript syntax and control flow:http://home.cogeco.ca/~ve3ll/jstutor2.htmhttp://home.cogeco.ca/~ve3ll/jstutor3.htmAlso, I've attached some docs related Adobe scripting and FormCalc language.BR,Paul Butenko
294
Views
0
Likes
0
Answers
Re: Newbie question - importing long lists of dropdown values Paul_Butenko - Adobe LiveCycle
Hi,You can put some string with values that you need splitted by some char: combova1,comboval2, comboval3then you can use this script:dropValues = stringVal.rawValue;// add each choice to drop downchoicesBR, = dropValues .split(",");for (var i = 0; i < numchoices; i=i+2){yourDropDown.addItem(choices[i], choices[i+1]);}var numchoices = choices.length;var numchoices = choices.length;for (var i = 0; i < numchoices; i=i+2){yourDropDown.addItem(choices[i], choices[i+1]);}Paul Butenko
248
Views
1
Like
0
Answers
Re: difference within xfa Paul_Butenko - Adobe LiveCycle
Hi,xfa.host.messageBox - simple messageBox like Javascript alert in web browsersxfa.layout - Represents the root of the layout model. Has some usefull methods like xfa.layout.relayout();xfa.form - Represents the root of the form model. To access some field you can use xfa.form.purchaseOrder.taxAlso check attached docs.BR,Paul Butenko
305
Views
0
Likes
0
Answers
Re: Removing fill color of checkbox field upon deselection. Paul_Butenko - Adobe LiveCycle
Hi again,You had some mistakes in script:1) in condition you shoud use == instead =2) if (condition) but not if{condition}this is working script:if (this.rawValue == "1") { this.fillColor="244,254,114"; }else {this.fillColor="255,25,128";}Also see attach.BR,Paul Butenko
298
Views
0
Likes
0
Answers
Re: How do I enumerate a table that grows? Paul_Butenko - Adobe LiveCycle
Hi,You can use index property.On initialize event of your field you can put script:this.rawValue = this.parent.index+1;See example attached.BR,Paul Butenko
268
Views
0
Likes
0
Answers
Re: Renaming a text object Paul_Butenko - Adobe LiveCycle
Hi,Object tab - Binding - Name.
324
Views
1
Like
0
Answers
Re: Hiding and unhiding unused sections of a form Paul_Butenko - Adobe LiveCycle
Hi,I've added some checkbox to your form, by clicking it you can hide/unhide some section.See attach.BR,Paul Butenko
323
Views
0
Likes
0
Answers
Re: Calculation Problem help solution needed quickly Paul_Butenko - Adobe LiveCycle
Hi,1) Try to set default values for fields as 0 for example.2) It could be prblem with versions of reader and form. Try to chane target version under File - Form properties - PreviewBR
305
Views
0
Likes
0
Answers
Re: Add a new page button Paul_Butenko - Adobe LiveCycle
Hi,I've added script to button.See example.BR,Paul Butenko
278
Views
0
Likes
0
Answers
Re: How do you create a custom button in LiveCycle to add a new form page to an existing form? Paul_Butenko - Adobe LiveCycle
Hi,You can use addInstance method to achieve your requiremnets.form1.#subform[1].instanceManager.addInstance()BR,Paul Butenko
243
Views
0
Likes
0
Answers
Re: Calculation Problem help solution needed quickly Paul_Butenko - Adobe LiveCycle
Hi,I.ve made some changes to youre scripts and saved form as dynamic. Now it calculates.Hope this what you need.BR,Paul Butenko
306
Views
0
Likes
0
Answers
Re: Master Page readOnly or protected fields still open on page 2 of PDF Paul_Butenko - Adobe LiveCycle
Hi,Each master page has own number.To lock second master page you have to access it properly, you try some script like this:main.pageSet[0].yourMasterPageName[index].filedName.access = "readOnly"index - index of master page starting from 0. In your case it shoul be 1.Each master page has own number.Best reagards,Paul butenko
317
Views
1
Like
0
Answers
Re: PDF form I18N support Paul_Butenko - Adobe LiveCycle
Hi,>Is there any support for different language in PDF? How many languages are currently supported by default?Yes, it has locale support, but it is supporting stuff like month, currecies etc.>If I need to create a form for different languages, do I have to create multiple forms based on the same schema or it is possible that I can create one form but just provide the locale to switch the language display defined in multiple property files (like Java/JSP).You can create one form, but all translat...
481
Views
0
Likes
0
Replies
Re: Need help with drop down lists??? Paul_Butenko - Adobe LiveCycle
Hi,You ca use function dropdownName.addItem( , ); To add some item to drop down list.I've attached some example. Just rename files properly.BR,Paul Butenko
267
Views
0
Likes
0
Answers
Re: auto-populate a text field Paul_Butenko - Adobe LiveCycle
Hi,Use global binding for those fields (they should have the same name). You can set it on Object palette - Binding tab - binding to Global.After that fields will be auto populated.BR,Paul Butenko
260
Views
0
Likes
0
Answers
Re: Programmatically setting mandatory fields. Paul_Butenko - Adobe LiveCycle
Hi,To set field mandatory use this script:fieldName.validate.nullTest="error"to set field optional:fieldName.validate.nullTest=""BR,Paul Butenko
271
Views
0
Likes
0
Answers
Re: using app.launchURL to make an mp3 play in hosts default program? Paul_Butenko - Adobe LiveCycle
Hi,Some time ago I downloaded JavaScript for Acrobat API reference doc. In this doc i found some function which can be helpfull for you - getPlayers.I didn't check is it working in Designer ES or not, but you can try ) Example 1List MP3 players to the debug console.var mp = app.media.getPlayers("audio/mp3")for ( var i = 0; i < mp.length; i++) {console.println("\nmp[" + i + "] Properties");for ( var p in mp[i] ) console.println(p + ": " + mp[i][p]);}Example 2Choose any player that can play Flash ...
278
Views
0
Likes
0
Answers
Re: using app.launchURL to make an mp3 play in hosts default program? Paul_Butenko - Adobe LiveCycle
Hi,Some time ago I downloaded JavaScript for Acrobat API reference doc. In this doc i found some function which can be helpfull for you - getPlayers.I didn't check is it working in Designer ES or not, but you can try )See attach.BR,Paul Butenko
277
Views
0
Likes
0
Answers
Re: File size calculation with inserted images Paul_Butenko - Adobe LiveCycle
Hi,Pictures which inserted to the form, converted to Base64 format. Maybe because of this you form growed up so much.BR,Paul Butenko
278
Views
0
Likes
0
Answers
Re: hide text conditionally Paul_Butenko - Adobe LiveCycle
Hi,Will youre form be generated dynamically be Forms ES based on some XML with data. Or you will create some static form?You can put some checkbox (Show additional notes) under each section, code which will show it will be something like this:OnClick event:if (this.rawValue == 1 ) {additionalNotes.presence = "visible"}BR,Paul Butenko
234
Views
0
Likes
0
Answers
Re: Multiple XML import into one PDF Paul_Butenko - Adobe LiveCycle
Hi,I think no, you have to write youre own parser or something.If you will use Java you can use JAXB for example.BR,Paul Butenko
254
Views
1
Like
0
Answers
Re: preSubmit event and mandatory Paul_Butenko - Adobe LiveCycle
Thanks for answer.How can i open incident with support?Paul Butenko
369
Views
0
Likes
0
Answers
Re: preSubmit event and mandatory Paul_Butenko - Adobe LiveCycle
Sorry, forgot to attach file.
372
Views
0
Likes
0
Answers
Re: preSubmit event and mandatory Paul_Butenko - Adobe LiveCycle
Hi,This is example data file for the form. If you will render form with it (in Designer for example), and press submit button - form will start to submit, but on pages 12 - 25 there is empty radiobuttons groups.See screenshots.Thank you in advance
369
Views
0
Likes
0
Answers
Re: preSubmit event and mandatory Paul_Butenko - Adobe LiveCycle
Hi,Actually I set manadatory to whole RadioButtonList.What do you mean "messe up"? I dont' have any warnings or errors in Designer.I attached archive with form and xml file(rename extension to rar), would you be so kind to have a look?
368
Views
0
Likes
0
Answers
preSubmit event and mandatory Paul_Butenko - Adobe LiveCycle
Hi,I've designed one questionary form. On this form i have radiobuttons groups with preSubmit event which makes it mandatory depends on some condition.So? if I'll try to submit form and this radiobuttons are emty they should become mandatory and gives me the message - "at least one requered field...".But there one problem, it is not working properly - fields becomes mandatory but i didn't receive message and form can be posted with empty fields.Test case:1) open form2) fill out questions 33,34,3...
2518
Views
0
Likes
8
Answers and Comments
Likes given to
Likes from