You are viewing limited content. For full access, please sign in.

Question

Question

Field not focusing on submit error when it is first error field

asked on February 7, 2022

We have a form with multiple input fields. The first user input field is an file upload field. When the user submits the form and if any of the user input fields are empty, the Error messages appear but the upload field which is the first one on the page which requires intervention is not getting the form-focused class applied, which does not re-focus the view to that field. There is a field directly above it which is filled with lookup data. When testing I removed the lookup but left the field required. When tried when that field was not filled, the form focuses to that field which was now the first one. What can I do to get around this problem.

0 0

Replies

replied on February 11, 2022

Hi John,

To make sure I am understanding this correctly, the issue you met is that field is not focused if the first required but unfilled field is field upload, right?

If so, could you check https://answers.laserfiche.com/questions/195604/File-Upload-validation-focus?

0 0
replied on February 14, 2022

Yes. The Answer you shared was also shared with me by Bert. I will give that a try. Thank you for looking into this for me. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.