Hi there,
I use the MB jQuery validation for many fields in my frontend submission form. After the "Submit" button is clicked and fields have missing or invalid data, the page scrolls up to show where errors have occurred and highlights them - which is great.
This works fine on ALL fields except for the file_upload
custom field? When clicking "submit" and ONLY the file_upload
field is empty, the scroll (to the error) action either: 1) takes place but does not scroll all the way to the error? or 2) Does not take place at all? The "rwmb-error" class is shown below the field. This is problematic as I have a fairly lengthy form and the user has to scroll back up to locate the issue.
I am only using the 'required' => true, validation attribute on the file_upload
field. I see no errors in the browser console or in my error log file when this is triggered?
Is this a bug? I would very much like to solve this problem.
I look forward to your response.