Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

FormCalc formula for auto focusing cursor?


Level 1

Is there a simple FormCalc formula to make the cursor auto focus on the next field upon entry of a previous field?

I have a form where the customer is required to put in an account #. Each digit of the 7 digit account # HAS to be in a separate numeric field. I would like it when they put the first number in, the cursor automatically moves to the next field.

I ask for FormCalc because it seems soo much easier than Javascript and I do not like Javascript much. Not much of a programmer anyway.



2 Replies


Level 7

Well you could just set the tab order so it flows onto the next field but if you want to use code then put into the exit event:



Level 10

Check out this blog post, there is scripting involved but there's a sample provided: