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
BedrockMission!

Learn More

View all

Sign in to view all badges

_Allen_Botello_
Community profile _Allen_Botello_ Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 25-02-2009 8:58:34 AM
Offline
Top badges earned by _Allen_Botello_
Customize the badges you want to showcase on your profile
Re: Referencing drop down selection through Function command
Avatar
Level 1
_Allen_Botello_
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
_Allen_Botello_
- Adobe LiveCycle
Paul, I am not understanding your advice. Please advise. when referencing the dropdown selection in the function should I use dropdownlist# or xfa.event.newText? Is the xfa.event.newText only used when you are using a "change" event for a dropdownlist? When you respond could you give me code instead of an explanation?-Thanks-Allen

Views

100

Likes

0

Replies

0
Referencing drop down selection through Function command
Avatar
Level 1
_Allen_Botello_
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
_Allen_Botello_
- Adobe LiveCycle
My job depends on me getting this right. Based on the DDL selection (change) certain part of the function will run. I also have a numeric filed (exit) that will activate the function, which will reference the DDL selection and spit out an answer for a text field...Thanks for your help!!!Here is my function and code for one of the DDL selection: function fxnPrepopulateFields(){else if ( xfa.event.newText == "Research Scientist I-F" ){ DropDownList8.clearItems(); DropDownList8.addItem("08160 F"); ...

Views

492

Likes

0

Replies

3
Re: Dropdown list populates Textfield based on Numeric field data!
Avatar
Level 1
_Allen_Botello_
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
_Allen_Botello_
- Adobe LiveCycle
I figured it out on my own....All I had to do was identify the "exit" response on each possible DropDownList selection for auto populating the text field. Code as follows:form1.#subform[6].NumericField9::exit - (JavaScript, client)if ( this.rawValue > 1 ) this.rawValue /= 100;else if ( DropDownList5.rawValue == "Research Scientist I-F" ); var total = ( NumericField9.rawValue );{if ( total > 0.89 ) TextField13.rawValue = "Manager Benefits";if ( total < 0.90 ) TextField13.rawValue = "Manager Benef...

Views

107

Likes

0

Replies

0
Re: Dropdown list populates Textfield based on Numeric field data!
Avatar
Level 1
_Allen_Botello_
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
_Allen_Botello_
- Adobe LiveCycle
Ok, I will try this. Please advise on the code. What code should I put in the "numericField9" under the Calc event to reference the DropDownList5 selection, so that the proper text field can be displayed. OR Should I post the text field reference in the numericfield9 so that it can identify, which dropdown5 selection has occured to autopopulate the textfield13. Please give an example of code to use.

Views

107

Likes

0

Replies

0
Dropdown list populates Textfield based on Numeric field data!
Avatar
Level 1
_Allen_Botello_
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
_Allen_Botello_
- Adobe LiveCycle
How do I get the exit data in NumericField9 to auto-populate the text for TextField13 based on the DropDownList5 selection?The ideal flow would be; (1) DropDownList5 selection (2) NumericField9 data entered (3) Textfield13 auto-populated text. My current code below almost gets me there. After the DropDownlist is selected it populates TextField13 with "no benefits". I then have to re-select the DropDownList selection for the proper TextField13 autopopulation after NumericField9 has been filled in...

Views

476

Likes

0

Replies

4