These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Moving from one filed to the next automatically.

richmtjoypa
Registered: Jun 24 2009
Posts: 2

I've searched over and over. I know I'm doing something wrong.
I need the answer today. My Job Depends on it. I'm a NOVICE!

Here is the problem:

Filling in a form that I DID NOT create, my client did. They placed Text Fields into a form.
Example "Date / Month / Year" - The designer made it 8 separate fields, I would like to have the end user fill in 11/27/2009.

But they will have to do the following way "1" tab "1" tab "2" tab "7" tab "2" tab "0" tab "0" tab "9".

Does this make sense? I would like to make the end user's life a little easier. Once they enter the first character "1" it should automatically jump to the next field.

Can this be done? What subject should I be searching for?

Thanks in Advance. I owe you a lollipop!

My Product Information:
LiveCycle Designer, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2399
(You should post in the LiveCycle forum)

Add a custom calculation script (or the equivalnt thereof) that check's the length of the field's value and when that length is the size you want, sets the focus on the next field.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

formman
Registered: Jul 17 2008
Posts: 44
richmtjoypa,

From my perspective when you create a date field and you create it as 8 fillable numeric or text fields you are required to provide a lot of validation so that the entry is viable.

For example lets say that your fields are setup like this:

M1 M2 / D1 D2 / Y1 Y2 Y3 Y4 Each letter/number combo (M1) being a separate field.

So if I were filling it out and entered 1, 3 for M1 M2 I would be specifying month 13 which does not exist.

If I absolutely could not use a Date field then I would make the month a two char field, the day a two character field and the year a four character field. Then utilize some script to validate 1-12 for the month 1-31 taking into consideration what month you just entered and then a year...oh wait, which year? can I enter a year that is earlier than the current year?...

You see it goes on an on. I think the best thing to do is use a date field with the calendar feature and then validate the entire date. Much simpler.

Rick Kuhlmann

Forms Developer/Designer
Tech-Pro, Inc.
Roseville, MN