Automatically jump to next field in form  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
User avatar
pinkfluffyphobia
User
Posts: 7
Joined: Sat Jan 23, 2021 5:27 pm

Automatically jump to next field in form

Post by pinkfluffyphobia »

Hello,

As the subject states, how can I make the cursor jump to the next field after inserting content to a text field.
In my special case the text fields are limited to one character each.

Thanks and regards,

Marek
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6813
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Automatically jump to next field in form  SOLVED

Post by Paul - Tracker Supp »

Hi pinkfluffyphobia,

there are options to limit a form field to a single character:
image.png
and there can be a "Tab Order" set, but you would need JavaScript to make it automatically advance without hittiing the Tab key. Some resources for such a JavaScript:
https://acrobatusers.com/forum/forms-ac ... -standard/
https://answers.acrobatusers.com/step-s ... ents191025

Depending on your use case, yo may just want a single field with the "comb" option set:
image1.png
That will let your users enter a single character value in each box but have the result as a single field.

See the attached sample and let me know if it addresses your need.
Single Character Form Fields.pdf
(6.24 KiB) Downloaded 28 times
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
User avatar
pinkfluffyphobia
User
Posts: 7
Joined: Sat Jan 23, 2021 5:27 pm

Re: Automatically jump to next field in form

Post by pinkfluffyphobia »

Hi Paul,

Thank you for your answer and your great tutorial.

For my actual needs the comb-field works just perfect and it saves me lots of fields.

Nevertheless, I will work into the javascript for future use as well.

Thanks again and kind regards,

Marek
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17765
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Automatically jump to next field in form

Post by Tracker Supp-Stefan »

:)
Post Reply