Question Details

avatar
You're on your way! It won't take you many more points to reach the next status level: Contributor. And as you answer other users questions and accumulate more points, you're also building your reputation with the community and with AcrobatUsers.com.

auto tab to next field

I would like certain text fields such as year (2012), phone numbers, zip codes, etc., to automatically fill in the entered user data, and the cursor automatically jump to the next field without having to use the tab button to go to the next field. Combing does not seem to work, even with "check spelling" & "scroll long text" deselected. Combing simply evenly spreads the pertinent digits into the field, but the tab button itself must still be utilized to move to the next field.


Richard Auensen 949 days ago


4 Answers

Voted Best Answer

avatar
<p>Congratulations! The Acrobat User Community selection team has approved your status as Expert in the Acrobat User Community. We appreciate all your past contributions and hope you will continue to support the community by answering questions and participating in the Acrobat Answers Q&A program as you've done in the past.</p>

<p>As an expert, you will get a badge to display on your profile with the level EXPERT next to your name and you have become eligible to be nominated to the Adobe Community Professional Program.</p>

<p>After reviewing the Adobe Community Professional Program information at https://www.adobe.com/communities/professionals/, please let us know if you are interested.</p>

<p>Someone from the selection team will contact you soon regarding the community professional program. Keep up the good work!</p>

<p>Regards,</p>

<p>The Acrobat User Community Team</p>


<p>**** Disclosure Requirements for Endorsements Received by Third Parties  ****</p>

<p>If you endorse or refer people to the Acrobat User Community in any venue,  it is our responsibility to ensure that you are aware of required compliance with the <a href="http://ftc.gov/os/2009/10/091005revisedendorsementguides.pdf">FTC’s Guidelines</a>. Both you and Adobe can be held liable under federal law for making unsubstantiated claims and for not disclosing your relationship with Adobe. In particular:</p>

<ol>
<li>Always disclose if you have received any type of incentive – free products, promotional items, travel, gifts, payment, and so on from Adobe. The disclosure must be on the same page as the endorsement.</li>
<li>Be truthful. Endorsements should not be misleading. Never make unsubstantiated or exaggerated claims about the benefits of Adobe products or programs. Any statements or endorsements about an Adobe product must be based on upon your actual experience.</li>
</ol>

Thank you again for your support of Adobe and the Acrobat User Community</p>

You need to have some knowledge of Acrobat JavaScript and how it works.

The document level JavaScript is used to save rewriting the code into every field. This improves editing and correcting the code and the execution of the code. The document level function code called the the custom keystroke of the form field:

function goNext(item,event,cName){
// keystroke filter for numeric data only - change for other character filters;
AFNumber_Keystroke(0,0,0,0, "",true);
// see if key stroke filter passed and field has reached the character limit of the field;
if(event.rc && AFMergeChange(event).length == event.target.charLimit) {
// since key stroke is good and character limit reached - go to next field
item.getField(cName).setFocus();
} // end if key stroke filter passed and character limit reached;
return;
} // end goNext function

For the field you need to set the maximum character limit through the field's property.

For a series of Fields named "SSN.0", "SSN.1", and "SSN.2" that holds the SSN in groups of 3, 2, and 4 characters.

For the "SSN.0" field, the maximum character length is set to 3.

You use the following custom keystroke JavaScript in the custom keystroke JavaScript:

goNext(this, event, "SSN.1");

"goNext()" is the call to the document level function that perfoms the auto tab action.

The positional parameters used by the 'goNext' function are:

"this" is the current open PDF

"event" is the event currently being processed

"SSN.1" is the field to auto tab to when the field is full.


By George Kaiser answered 931 days ago  |   Comments (0)  |  New Comment

avatar

  |   Report
Was this answer helpful?  
1
0

avatar
<p>Congratulations! The Acrobat User Community selection team has approved your status as Expert in the Acrobat User Community. We appreciate all your past contributions and hope you will continue to support the community by answering questions and participating in the Acrobat Answers Q&A program as you've done in the past.</p>

<p>As an expert, you will get a badge to display on your profile with the level EXPERT next to your name and you have become eligible to be nominated to the Adobe Community Professional Program.</p>

<p>After reviewing the Adobe Community Professional Program information at https://www.adobe.com/communities/professionals/, please let us know if you are interested.</p>

<p>Someone from the selection team will contact you soon regarding the community professional program. Keep up the good work!</p>

<p>Regards,</p>

<p>The Acrobat User Community Team</p>


<p>**** Disclosure Requirements for Endorsements Received by Third Parties  ****</p>

<p>If you endorse or refer people to the Acrobat User Community in any venue,  it is our responsibility to ensure that you are aware of required compliance with the <a href="http://ftc.gov/os/2009/10/091005revisedendorsementguides.pdf">FTC’s Guidelines</a>. Both you and Adobe can be held liable under federal law for making unsubstantiated claims and for not disclosing your relationship with Adobe. In particular:</p>

<ol>
<li>Always disclose if you have received any type of incentive – free products, promotional items, travel, gifts, payment, and so on from Adobe. The disclosure must be on the same page as the endorsement.</li>
<li>Be truthful. Endorsements should not be misleading. Never make unsubstantiated or exaggerated claims about the benefits of Adobe products or programs. Any statements or endorsements about an Adobe product must be based on upon your actual experience.</li>
</ol>

Thank you again for your support of Adobe and the Acrobat User Community</p>

The example I have seen requires the maximum number of characters to be set to a finite number and then a custom JavaScript keystroke is used to detect when that number of characters has been entered into the field and then focus is set to the next field.

AutoTab

Entering Document Scripts by Thom Parker


George Kaiser answered 948 days ago  |   Comments (0)  |  New Comment

avatar

  |   Report
Was this answer helpful?  
0
0

avatar
You're on your way! It won't take you many more points to reach the next status level: Contributor. And as you answer other users questions and accumulate more points, you're also building your reputation with the community and with AcrobatUsers.com.

And is there a sample somewhere of the pertient Javascript, which can be copied, pasted, and edited accordingly.


Richard Auensen answered 939 days ago  |   Comments (0)  |  New Comment

avatar

  |   Report
Was this answer helpful?  
0
0

avatar
<p>Congratulations! The Acrobat User Community selection team has approved your status as Expert in the Acrobat User Community. We appreciate all your past contributions and hope you will continue to support the community by answering questions and participating in the Acrobat Answers Q&A program as you've done in the past.</p>

<p>As an expert, you will get a badge to display on your profile with the level EXPERT next to your name and you have become eligible to be nominated to the Adobe Community Professional Program.</p>

<p>After reviewing the Adobe Community Professional Program information at https://www.adobe.com/communities/professionals/, please let us know if you are interested.</p>

<p>Someone from the selection team will contact you soon regarding the community professional program. Keep up the good work!</p>

<p>Regards,</p>

<p>The Acrobat User Community Team</p>


<p>**** Disclosure Requirements for Endorsements Received by Third Parties  ****</p>

<p>If you endorse or refer people to the Acrobat User Community in any venue,  it is our responsibility to ensure that you are aware of required compliance with the <a href="http://ftc.gov/os/2009/10/091005revisedendorsementguides.pdf">FTC’s Guidelines</a>. Both you and Adobe can be held liable under federal law for making unsubstantiated claims and for not disclosing your relationship with Adobe. In particular:</p>

<ol>
<li>Always disclose if you have received any type of incentive – free products, promotional items, travel, gifts, payment, and so on from Adobe. The disclosure must be on the same page as the endorsement.</li>
<li>Be truthful. Endorsements should not be misleading. Never make unsubstantiated or exaggerated claims about the benefits of Adobe products or programs. Any statements or endorsements about an Adobe product must be based on upon your actual experience.</li>
</ol>

Thank you again for your support of Adobe and the Acrobat User Community</p>

George Kaiser answered 939 days ago  |   Comments (0)  |  New Comment

avatar

  |   Report
Was this answer helpful?  
0
1


Download
Acrobat XI trial

Get the trial now


Other Questions Needing Answers


acrobat 9 pro udates?

Asked by Jerry Smith · 1 answer



Print opens Save as

Asked by Richard Lewis · 1 answer