cancel
Showing results for 
Search instead for 
Did you mean: 

When click on Lead From the Dropdown it will show value in second inputFiel

Former Member
0 Kudos

Hello,

I created a Extended Value Selector and calling the Bapi...with name (Key)

and Place..

Now if I click any value from the dropdown the name is displaying in the first input filed where i declared the Extended Value Selector ...I want to display the second value in the second input field....

How to do that?

Wheather In the first input field where I declared the Extended Value Selector bind to the action?And under that I need to write the code?

Plz help me?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Try this code.

1) Declare the valueset globally ie. inside

//@@begin others

private static IModifiableSimpleValueSet valueset = null;

//@@end

2) In the WdDoModifyView Method Give the below code

wdContext.currentContextElement().set<<i>value attribute for second inputfield</i>>(

valueset.getText(wdContext.currentContextElement().get<<i>value attribute of the first input field>()</i>));

Hope this helps.

Regards,

Rathna

Former Member
0 Kudos

No..It cant be happened..We nee to create a Action for that dropdown for lead selection..when clicking of that it will show the second value(Not the key value)

in the second input field....

How to do that plz help me...in that action we need to write the code.

Former Member
0 Kudos

hi,

in the onclick of the dropdown method set the second inputfield value attribute,

In onclickof DD() method add like this.

wdContext.current<nodeofinputfilednode>Element().set<inputfiledValue attribute>(wdContext.current<DDnodeof>Element().get<DDValue attribute>());

it might helps you.

Thanks,

Lohi.