Shaw:

 

Thanks. I had to strip out the auto-generated stuff around the script and then it worked like a champ.

 

Dab

 


From: Shaw, Jason [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 2:27 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PDF-Forms] How do I make a form tab to the next field when the number of characters limit is reached on the current field

 

Under the Document menu, go to set page action. Put a _javascript_ in here. It will execute every time the page opens.

 

Jason Shaw

-----Original Message-----
From: David A. Beck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 2:28 PM
To: [EMAIL PROTECTED]
Subject: RE: [PDF-Forms] How do I make a form tab to the next field when the number of characters limit is reached on the current field

Shaw:

 

I found out where to put the custom keystrokes script, under the format tab. I wonder why the change event wasn’t with the other events. I put this script in there  and it works

 

if (event.change)

{

event.change = event.change.toUpperCase();

this.getField("ACCT.3").setFocus();

}

 

Now I’m off to try to find the Document Open / Initialize event so that I can scroll to and set focus on the first form field.

 

David A. Beck

 

 


From: Shaw, Jason [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 1:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PDF-Forms] How do I make a form tab to the next field when the number of characters limit is reached on the current field

 

In a custom kestroke event add _javascript_:

 

var a = event.value

 

if (a.length == 4)
{
this.getField("WO.data").setFocus();
}

 

 

Jason

-----Original Message-----
From: David A. Beck [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 7:07 PM
To: [EMAIL PROTECTED]
Subject: [PDF-Forms] How do I make a form tab to the next field when the number of characters limit is reached on the current field

How do I make a form tab to the next field when the number of characters limit is reached on the current field

Acrobat 6.0

Reply via email to