I have an input form that consists of 12 single digit inputs. I want to move to the next field after inputting the single value. I was looking at onKeyInput but can’t quite figure out how to do this.
Thanks
JD
I have an input form that consists of 12 single digit inputs. I want to move to the next field after inputting the single value. I was looking at onKeyInput but can’t quite figure out how to do this.
Thanks
JD
Hi,
Check out this reference .
Roi.
Yeah, I figured it out…
export function input1_keyPress(event, $w) {
//Add your code for this event here:
$w(“#input2”).focus();
}
export function input2_keyPress(event, $w) {
$w(“#input3”).focus();
//Add your code for this event here:
}
.
.
.
and so on…
Thanks
JD
Hi,
You do not need code for this.
See this post
I knew of that post. It was not what I was looking for . In my input form I did not USE TAB key or Enter Key. Since the form consisted of 12 single digit fields I wanted to just position my cursor in the first files and input a single value and then have cursor move to next field.
Regards,
JD