Skip to main content
February 5, 2023
Question

Dropdown field senerio

  • February 5, 2023
  • 3 replies
  • 0 views

Hi Eperts,

I have one senerio that :

I have a dropdown list which contains 14 values in List like(BC, AB, ON,NB,CB,JK,HG,FG and so on). I want when I should be able to press the B button on my keyboard and then TAB to the next text field with the system knowing B=BC, or BA 

 a!dropdownField(
   label:"provinceLabel",
   labelPosition: "ABOVE",
   placeholder:  "Select a Province",
   choiceLabels: cons!SCE_COPA_PROVINCE_LIST,
   choiceValues: cons!SCE_COPA_PROVINCE_LIST,
   value: ri!record.province,
   saveInto: ri!record.province,
  
   
 )

Thanks

3 replies

stefanhelzle0001
Brainy
February 5, 2023

It almost works like this. I just had to hit the B-button twice. The first time to make the field aware that I want to enter a value, and the second time to select the first value starting with a B.

February 5, 2023

I want when I press B in keyword then in the dropdown list which values have "B" comes and then I press TAB Button then system select "BC".

stefanhelzle0001
Brainy
February 5, 2023

As we cannot tailor this low level behavior, you will have to deal with it like it is.

For me it is:

- Tab to the field

- Type B

- Hit down arrow

- Hit tab