Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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:"nameOfNextField")

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now