How to add cursor on 1st field instead of the 2nd field?

Highlighted

How to add cursor on 1st field instead of the 2nd field?

Hello,

I'm experiencing a strange behavior with one of my forms. Some external users have reported that the cursor is going directly on the second field instead of the first one.

As a result some people are skipping the first field until they realize (when hitting the submission button) that it was mandatory (and left blank).
How can I fix this?

FREE Trial of Talend Data Integration

Cécile

Tags (2)
4 REPLIES 4
Highlighted

Re: How to add cursor on 1st field instead of the 2nd field?

You have this line in your form

ttFormScript["Focus"] = "FirstName";

remove that (or change it to ttFormScript["Focus"] = "Email";) and that will fix it

Highlighted

Re: How to add cursor on 1st field instead of the 2nd field?

Yeah. Cecile - do you know how that got there in the first place? Want to make sure something undesirable isn't happening.

Highlighted

Re: How to add cursor on 1st field instead of the 2nd field?

I have no clue how it was added in first place but thanks for the prompt answer

Highlighted
Anonymous
Not applicable

Re: How to add cursor on 1st field instead of the 2nd field?

Thanks for posting the question and the script piece. I haven't seen that before but I'm glad Mark figured it out quickly.