PlanetSong
Community profile PlanetSong Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 11-06-2012 2:44:48 AM
Offline
Top badges earned by PlanetSong
Customize the badges you want to showcase on your profile
cannot export default value when exporting to XML using web service
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Hello All,In Designer, I create a new data connection (XML Schema), and bind 3 fields to the nodes, these 3 fields have default value in order to distinguish each form. For example, formLanguage=E, formVersion=1.0.0, formType=form1.After applying reader extension to the form, I use web service API to export the form data to XML ("soap/services/FormDataIntegration?blob=mtom").In the XML, i cannot find the default value of 3 fields. the nodes are empty.In order to see the value of them reflected i...

Views

348

Likes

0

Replies

0
how to force the form not to close / customize the messagebox at save time
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Hello all!I'm using AEM/designer to design a form, at the time a user clicks red cross to close the form--> "Do you want to save the form ?" Click save button --> save the form --> enable validation script and pop up warning message at form presave event.questions:1. how do i customize the text "Do you want to save the form ?"2. if he clicks save button and the form is saved and pops up warning message that some fields are empty, he clicks "OK", how can i keep him stay on the form?on the interne...

Views

367

Likes

0

Replies

0
how to populate dropdown list and store item values with javascript
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
data.dropdownSection = ["text1","text2","text3","text4","text5"];This data is successfully populated to a dropdown list field with Javascript:for(i=0;i

Views

478

Likes

0

Replies

0
how to generate a subform dynamically, need to change its display location
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
get cascaded lists with different combination in Custom dialog boxesBackground: This old post described a dialog box that I always want, but since some Livecycle limitation issues that can't be fixed, I have to give it up. Now I'm using a subform as a container to hold the content of this dialog box.My Question:In my form, I have 2 pages. But some tables are dynamic. So at runtime, it may have many more pages. The dialog box (or a subform, hidden at initialization, but will be visible if is trig...

Views

401

Likes

0

Replies

0
Re: form global variable cannot update between session
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
OK indeed we may need a new thought.... Let me explain the requirement to you.We need to do validation on a form, and pop up alert box if any field is invalid. but if the user is given an empty form, there's no need to do the validation. Initially I post the thread to ask for help on how to check one form is empty without any input. The problems are, the form might have some default values/ no one responses.My teammate suggests me I can try to capture if this form is ever saved, so I modified th...

Views

661

Likes

0

Replies

0
Re: form global variable cannot update between session
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Hello Radzmar, I've come across several of your tutorials and forum answers during development! nice to meet you!i've tried both ways, a global var or a hidden fields. i update its value at postSave event, but according to mattiaswallin, "it will disappear until the next time you open as you don't save the form after that change have had happened. " so we are in a dilemma...

Views

666

Likes

0

Replies

0
Re: form global variable cannot update between session
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
hi there, what do you mean by a "field flag" on presave event?yes indeed the save event may be cancelled.so seems we are both getting lost..

Views

668

Likes

0

Replies

0
Re: form global variable cannot update between session
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Hi there, i tried with your solution, set its value at its postSave event, but I don't set its value at other events. Still at next open of the form, its value is null.Still something wrong.

Views

665

Likes

0

Replies

0
Re: Question about web service and timeouts
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Though this is an old post, I have almost the same problem:Use JavaScripttxtFld2 = txtFld1.rawValue;if( null != txtFld2.rawValue ) app.alert("Got it");else submit.execEvent("click");I disable the network, and it's popping up "Script failed (language is formcalc..." exception message. And then it pops up "not available".Any idea how to disable the failure message?

Views

337

Likes

0

Replies

0
Re: form global variable cannot update between session
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
indeed a good idea....anyway, why does livecycle ask us to do so many work arounds....

Views

663

Likes

0

Replies

0
form global variable cannot update between session
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Hello, I set a global variable, isFormSaved, to denote that the form is ever saved. Its default value is false.in the form postSave event:isFormSaved.value = "true"; // i also tried isFormSaved.value = truein the form init event: if(isFormSaved.value=="true")// i also tried isFormSaved.value = true doSomething();When the form is first time open, isFormSaved is false. In the postSave event, it's changed to true. But when the form is reopened, init form event still shows it's false.I use the reade...

Views

2.6K

Likes

0

Replies

11
customize no network connection/access alert box
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
For the two situations below, I want to get a system dialog box, and customize its text; or simply hide its dialog box, capture the returned error code, and fit into my new dialog box.1.Adobe LiveCycle ES4 * Network Connection Not Found dialog boxI disconnect the network, and click a text with hyperlink in my form, it simply opens the link in a browser. How can I even see the dialog box according to the document above?2.Drop Down List with a JSON object bindingHow to send user id and password to...

Views

457

Likes

0

Replies

0
Re: Disable fillable fields
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
I tried out, "disable" works by creating the Action Builder, but "enable" cannot. Am I getting anything wrong?Button1 is clicked to disable Page1, code automatically generated by LiveCycle:oTargetField = this.resolveNode("Page1"); oTargetField.access = "readOnly";However it cannot enable the form1/Page1 with another button in page 2, code automatically generated by LiveCycle is like this:oTargetField = this.resolveNode("Page1"); oTargetField.access = "open";

Views

938

Likes

0

Replies

0
how to get focus in table and verify if the current row not empty
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
in a table, there are 4 columns, several rows.The tab cursor navigates from column 1 to 4 of any row, and when it reaches the next row, all fields are empty, then it'll alert error to remind user to fill in this row.To know whether it's in current or next row, I'm thinking of using getFocus() (as opposite to xfa.host.setFocus(param)). But as for LiveCycle development, that's too simply thinking...Existing (maybe) solution:mouseEnter/mouseExit event is triggering a screen jump ONLY when zoomed in...

Views

544

Likes

0

Replies

0
Re: get cascaded lists with different combination in Custom dialog boxes
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
" item ID": I don't quite get you, what's the item ID that's 4 char? my data comes from this map:var list = {"some string":-110, "some string":-120, ... }"But if I understand well": Yes you are correct."put all the right conditions within the initialize event":Oh, do you mean I indeed need to hardcode all of them: initialize: function(dialog) { dialog.load({ LST1: dialogObject.LST1, LST110: dialogObject.LST110, LST1103: dialogObject.LST1103, LST12: dialogObject.LST120, ...... }); dialog.visible(...

Views

734

Likes

0

Replies

0
Re: can I return a string in a customized dialog box created with app.execDialog()?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Cool, I've got a better insight into this issue now, with your help, thank you again!In order to avoid auto-ordering, I'll simply add a number before the key in the map, and it's done 😛If you have time, would you mind taking a look at this:get cascaded lists with different combination in Custom dialog boxesIt's another question about the dialog box, which is the major part that's causing headache.Cheers!

Views

1.2K

Likes

0

Replies

0
get cascaded lists with different combination in Custom dialog boxes
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Adobe LiveCycle Designer Cookbooks by BR001: Using app.execDialog() in an Adobe Designer FormI'm following the above post and trying to do this:1. When I select "Aland Islands", it need to show the cities of this island in a new list box that's appended to the first one. When I select any city listed, it shows the district accordingly in a third list box, like this:(The above dialog box is created with excel visual basic.)The above selection combination is random. When you select item 110--> ite...

Views

1.3K

Likes

0

Replies

3
Re: can I return a string in a customized dialog box created with app.execDialog()?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Apart from initialize function, I also need to pass the value into: var dialogObject = { LST1: [some value]}So now it works, thank you!Some more questions about dialog box:I used to be a Java based developer, so some features of javascript are new to me. Please excuse me if I'm asking simple common sense questions, and perhaps give me some hint or reference so that I can do some more research accordingly. Big thanks! 1 From the sample PDF:var list = { "Aland Islands":-248, "Albania":-8, "Algeria...

Views

944

Likes

0

Replies

0
Re: in a dynamic table, can instance manager tell the index of current row instance?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Cool it works this way! thanks!Another question following the above:the row is named repeatingRow. I'm at the third row, first column.How do I get to know the value in the first row first column?I tried:this.parent.parent.repeatingRow[0]while I assume this.parent means the current field's parent, the current row; this.parent.parent means the current table/subform; But it says "undefined".

Views

835

Likes

0

Replies

0
in a dynamic table, can instance manager tell the index of current row instance?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Script Dependencies and "recalculate()" I follow the example here, and use it to make a dynamic table. The +/- button now work as my Add/Delete row button.Learnt from the guide, I can use instance manager and add or remove instance of row. Now I want to know which row I'm editing now, so that when there is data in the rows other than the first row, it pops up an alert to remind me to fill in the first row as a preliminary.Code of instance manager that works in my local:var oTargetSubform = addBu...

Views

2.0K

Like

1

Replies

3
Re: can I return a string in a customized dialog box created with app.execDialog()?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Thank you Magus, I guess this is the idea.I now face another problem, since in my dialogObject I initialize var dialogObject = { LST1: ({}), ...}According to your solution, it runs app.execDialog(dialogDescriptor); before returning the string. But it doesn't call LST1.I tried to switch context like this:....app.execDialog.call(dialogObject, dialogDescriptor);return strValue;But it doesn't even pop up dialog box now.Can you guide me how to call LST1?Sorry if the question is stupid, but I'm newbie...

Views

936

Likes

0

Replies

0
can I return a string in a customized dialog box created with app.execDialog()?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Adobe LiveCycle Designer Cookbooks by BR001: Using app.execDialog() in an Adobe Designer Form I'm following the above post and trying to do the following:I want to write the output from one of the list box selection from the dialog box back to PDF, what shall I script? Something like document.write() in Javascript (see: http://www.tutorialspoint.com/javascript/javascript_dialog_boxes.htm ). I've tried to use document.write() in dialog box script, but it doesn't seem to work.Or can the dialog box...

Views

2.2K

Like

1

Replies

6
is there SVN software or plugin
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
hi all we are looking for a subversion software for PDF that we create with live cycle desginer. maybe livecycle designer has a plugin for this, like eclipse has subclipse. but currently we find nothing.

Views

794

Likes

0

Replies

1
how do i empty the cache
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
I'm using Live Cycle ES3 to develop, Adobe Reader XI/ Acrobat XI to display PDF.In my pdf, users input their data, and the webservice binded to this pdf will generate a string according to the input data. Then I use image fields to decode thestrings returned by the webservice using base 64 schema, and embed pages of PNG into pdf for display.The code is like this: imgField.rawValue=webServiceString.rawValueSo the user inputs the first set of data, and the first set of png labels will be generated...

Views

596

Likes

0

Replies

0
array data binding from webservice to pdf form
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
I'm working on databinding now. In the webservice, there is a field called "Commodities". And the WSDL is like this: "Commodities" is an array, and one item corresponds to one element in the array, like com[0], com[1] and so on. in my PDF, I have a table, each row corresponds to one commodity. we are now trying to bind the row data to the webservice.at first I edited the WSDL by duplicating the red line, then in LC data view, the webservice structure would be like this:Commodity[0]Commodity[1]Co...

Views

683

Likes

0

Replies

0
how to auto save and pre-fill some textfields
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
first time i open a pdf, there are some textfields. they are all empty.i click on a button to call a web service. this returns some text and fill in those textfields.if one of these textfields, "message", has got an auto-filled text "success", then the pdf needs to remember the text in some of the rest of the fields. next time when the user open it, those fields should be with the text generated last time.notice that the "Do you want to save the file" auto-popup window won't meet my requirement....

Views

1.6K

Likes

0

Replies

1
how to change the font color of dropbox item and textfield
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
how to change the font color of a specific dropbox item?the dropbox includes 3 items:aaabbbccci only want to change "aaa" into the red color.i tried: dropox.font.fill.color.value= "255,0,0";as you know, it changes all the items into red.and BTW, how to change the text color in the textfield?if some one enters an invalid email, i'll highlight that field for him. but only need to highlight the incorrect email text, not including the title of textfield.

Views

2.4K

Likes

0

Replies

0
Re: How to change the text of the drop down list items?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
thanks that gives me a hint but not the final solution.i now use setItems to change the text. but the Item Values are also changed.Initially I use value 1, 2, 3 to correspond to A, B, C. but after applying setItems, a, b, c have different value now (changed into a, b, c). i wish to also keep the same value as 1, 2, 3.do you have any suggestion?

Views

370

Likes

0

Replies

0
Re: How to change the text of the drop down list items?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
Hi all!I don't want to use addItem, cause I'll do databinding to each item.Do you have any suggestion?Now I only find out the way to read the text of each item , using getSaveItem(index) or boundItem(xfa.event.newText). But still don't know how to set the text.Thanks in advance!

Views

361

Likes

0

Replies

0
Re: How to change the text of the drop down list items?
Avatar
Validate 1
Level 1
PlanetSong
Level 1

Likes

2 likes

Total Posts

39 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
PlanetSong
- Adobe LiveCycle
thank you for your reply. it indeeds works!

Views

354

Likes

0

Replies

0
Likes given to
Likes from