Copy link to clipboard
Copied
i am not using LiveCycle any more and not sure how to get the form to auto tab. i have boxes that i have restricted to 1 character and want the form to auto tab to next box, which is also limited to 1 character. (accounting codes). tried using the Java Script i used before under actions, but is not working.
thank you for your help
EC
Copy link to clipboard
Copied
Use the comb field in LiveCycle.
Copy link to clipboard
Copied
Is there any way to do this using Adobe Acrobat Pro and not liveCycle?
Thank you,
Etta Cay Dixon
[personal information removed per policy - https://forums.adobe.com/docs/DOC-3731]
[This is an open forum, not Adobe support, please do not post personal information]
[If you are posting using email, please turn your 'sig file' function OFF for posting]
Copy link to clipboard
Copied
Yes, it's possible. You need to define this function as a doc-level script:
function autoTab(cName){
if (event.rc && AFMergeChange(event).length == event.target.charLimit) {
var f = this.getField(cName);
if (f==null) {
app.alert("Can't locate: " + cName);
return;
}
f.setFocus();
}
}
And then use this code as the field's custom Keystroke event (the name in the parentheses is the name of the field to tab to):
autoTab("Text1");
Copy link to clipboard
Copied
Sorry I am only a moderate user; do I enter this under the properties of the cell/actions/select trigger?/Select Action would be Java Script and add this?
Thank you,
Etta Cay Dixon
[Personal information removed by moderator]
Copy link to clipboard
Copied
Which part are you talking about? I explained where each code needs to go to, above.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now