Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Mark_Lindberg
Mark_Lindberg
Offline

Badges

Badges
22

Accepted Solutions

Accepted Solutions
7

Likes Received

Likes Received
11

Posts

Posts
215

Discussions

Discussions
83

Questions

Questions
132

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Mark_Lindberg
Customize the badges you want to showcase on your profile
Re: Populate text box from dynamic drop down list - Adobe LiveCycle 10-07-2007
Dayna:I would switch to the Change Event, from the Exit Event.What value do you want in Textbox1 if "Multi-point N2" is selected in Dropdown2?something like:Textbox1.rawValue = "My New Text";in the change event of Dropdown2 should do the trick.Mark

Views

594

Likes

0

Replies

0
Re: set a an item as selected drop-down list javascript - Adobe LiveCycle 09-07-2007
Sarah:In the Change Event of the first box (filletParameterBox), Set grooveParameterBox.rawValue = "N/A";In Change Event of grooveParameterBox, Set filletParameterBox.rawValue = "N/A";If you really want to remove the option to select anything else in the "N/A" dropdown, you can clear the items out of the list first.filletParameterBox.clearItems();Then set the rawValue to what you desire.

Views

258

Likes

0

Replies

0
Re: set a an item as selected drop-down list javascript - Adobe LiveCycle 06-07-2007
Ronny:Try setting the 'formattedValue' property of the drop-down field to the desired value.DropDownField.formattedValue = "This One";Mark

Views

258

Likes

0

Replies

0
Re: Set radio button value using javascript - Adobe LiveCycle 13-06-2007
Set the rawValue of the Radio Button field to the value of the choice you want selected.In my example, Radio_Button3 has 2 values "Yes", and "No".To set Yes on: Radio_Button3.rawValue = "Yes";To set No on: Radio_Button3.rawValue = "No";To reset the button (clear): Radio_Button3.rawValue = "";Hope this helps.Mark

Views

817

Likes

0

Replies

0
Re: Resolving data connection - Adobe LiveCycle 08-06-2007
That was my point - by placing your connection into the variable, you are no longer truely accessing the connection in some way.There are some changes taking place when var x is being set.In general, I try to access and set properties directly vs. setting a variable first. If you want to change the query, set you can use a variable there to compose it prior to placing it in the connection. Below is a little code where I set variable "qry" to the Select Statement. I then can display that back to ...

Views

229

Likes

0

Replies

0
Re: Resolving data connection - Adobe LiveCycle 08-06-2007
OK - here is the best I can give you.Do not set var x, then try to display the properties.Place the object in your messagebox directly:var x = xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.value; xfa.host.messageBox("value" + x);xfa.host.messageBox("value 2" + xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.value);These 2 statements give different results.The second one should work as you desire. The first is displaying some property of var x, "0in...

Views

229

Likes

0

Replies

0
Re: Resolving data connection - Adobe LiveCycle 07-06-2007
xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.nodes.item(0).value- or -xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.valueShould display the Select clause contents for you.I used this in my testing:app.alert("Select value: " + xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.value);

Views

493

Likes

0

Replies

0
Re: Resolving data connection - Adobe LiveCycle 07-06-2007
Sorry - my tags are not showing around the select stmt. There should be the word select inside <>'s before your select statement, and /select between <>'s before recordset.These may have been in your original post as the do not display for mine.Should be: ... . SELECT Test1, Test2 FROM Test_Table.

Views

493

Likes

0

Replies

0
Re: Resolving data connection - Adobe LiveCycle 07-06-2007
In the XML sample you provided, the text between "<>"s are tags.Your sample was missing the following:... SELECT Test1, Test2 FROM Test_Table ...Should be:... SELECT Test1, Test2 FROM Test_Table ...

Views

493

Likes

0

Replies

0
Re: Resolving data connection - Adobe LiveCycle 07-06-2007
OK, I guess I answered the first time without complete understanding of what the question was.What do you want to be returned to x?I thought you were trying to display the contents of your SQL select statement - Is that the case?If so, I think you may need to wrap your SELECT statement in XML tags:

Views

493

Likes

0

Replies

0
Likes given to