Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do you make the cursor automatically move the next text field after the current field is filled?

New Here ,
Mar 27, 2020 Mar 27, 2020

I've created a fillable form where the user will fill in specific numbers. I have text fields set up for each number and would like their cursor to automatically jump to the next fields when they fill in the first field, so they can fill in the next number. There is 1 text field for each digit of a 4-digit number - so 4 text fields.

They are all set up so the user must input a single number already.
This would be similar to a phone number, so once the area code is typed in the cursor would automatically jump to the next text field for the user to type in the next 3 digits, then the same thing would happen so they could fill in the last 4 digits.

Does anyone know how I can do this?

TOPICS
How to , PDF forms
4.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Contributor ,
Mar 27, 2020 Mar 27, 2020
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 27, 2020 Mar 27, 2020
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 27, 2020 Mar 27, 2020
LATEST

I'm still struggling to get the code to work for me, even after adding the exact name of the next field. But I think this is going to work. Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2020 Mar 27, 2020

You can simply use a text field with the Comb option enabled, instead.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines