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

Cecile_Maindron
Level 10

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
Mark_Halliday1
Level 2

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

Justin_Cooperm2
Level 10

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.

Cecile_Maindron
Level 10

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

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.