We have a form that starts by showing 3 fields. The 3rd field is marked as read only and required (Forms 10.1). When the form is first loaded, the 3rd field is given focus instead of the 1st field. After selecting the 1st field and then entering a value and hitting tab, the 3rd field is again given focus instead of the 2nd field. Is this a bug in Forms 10.1?
Question
Question
Read Only & Required Field Given Focus Bug?
Answer
I can reproduce your issue when use lookup, it is caused by required validation is triggered when lookup is triggered. When load page and input value in the first field, the lookup will be triggered, so validation is triggered. The issue has been fixed in Forms 11 after we enhanced the validation behavior.
Replies
What's the field type of the 3rd field, is it blank when load form? Is there any lookup rule to this field?
I can't reproduce with three single line fields, see video here: http://screencast.com/t/J66CyDOImZlQ
The 3rd field is a single line field. The first two fields are used by the end user to enter in a username and then the last 4 of the persons social to verify who they are. With that information the 3rd field is then populated with the person's name.
So you have custom JavaScript with this form to fill the 3rd field? Can you share that?
There is no custom JavaScript to fill the 3rd field, it is a normal lookup rule.
I can reproduce your issue when use lookup, it is caused by required validation is triggered when lookup is triggered. When load page and input value in the first field, the lookup will be triggered, so validation is triggered. The issue has been fixed in Forms 11 after we enhanced the validation behavior.