cancel
Showing results for 
Search instead for 
Did you mean: 

Input field and dropdown issue

david_fryda2
Participant
0 Kudos

Hi everyone,

I'd like to create 2 fields : one is input field and the second is dropdown.

When the user enters a country in the input field, I'd like the dropdown list to be updated directly with a list of the cities of that country without any click on ENTER or a button.

Is there a way to do it ?

Thanks.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

i think it is difficult to populate values in the dropdown without any event.

So my solution is like this...

1.user enters data in the input field

2.when user select the drop down(put some default value on this "select" or something) on that event you read the value from the input field and populate.

Please check this

Thanks and Regards

shanto aloor

david_fryda2
Participant
0 Kudos

Thanks Shanto,

It may be the only solution.

Regards.

Answers (1)

Answers (1)

Former Member
0 Kudos

In versions before NW 7.1 you have to use the "onEnter" or some other event (e.g. from a button) to populate the drop-down list. In NW 7.1 there exists an "onChange" event that is triggered when the input field looses the focus.

Armin