Skip to main content
Known Participant
Feb 5, 2023 4:40 PM UTC
Question

Dropdown field senerio

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
Feb 5, 2023 4:46 PM UTC

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.

Known Participant
Feb 5, 2023 5:06 PM UTC

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
Feb 5, 2023 5:29 PM UTC

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