Previous | Next | (P-PDF) Acrobat 6.0
Topic: Need help on auto tab for text
Conf: (P-PDF) Acrobat 6.0, Msg: 136712
From: ryasa
Date: 7/25/2005 07:32 AM
I am new to the world of Acrobat. I have found a custom keystroke java script that will work for numbers only but I need to have it work for text as well. Any assistance would be much appreicated. Here is the script:
function AutoTab(doc, event, cNext)
{
// Call the built-in routine to allow numbers only.
AFNumber_Keystroke(0, 0, 0, 0, "", true);
// If we've filled in the field completely, jump to the next one.
if (event.rc && AFMergeChange(event).length == event.target.charLimit)
doc.getField(cNext).setFocus();
}