cancel
Showing results for 
Search instead for 
Did you mean: 

Drop Down Problem

Former Member
0 Kudos

Hi All,

I have a requirement where in I have to populate the drop down values dynamically based on date and calculate amount based on the value user selects in the drop down.

Can anyone guide me on how to proceed on the same.

Regards,

Satish

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member40425
Contributor
0 Kudos

Hi Satish,

First of all get filtered values in a context node based on date, bind that node to DropDownByIndex UI.

On Select event you can calculate Amount based on selected value. You can use following line of code to get selected value.

String value = wdContext.node<node_name>()
				.current<node_name>Element().get<Attribute_name>();

Regards,

Rohit

junwu
Active Contributor
0 Kudos

if you are using dropdown by list, you just have to populate the node that the dropdownbylist is bind with.

nothing special.