Validation doesn't work on required file element

Created on 3 July 2018, about 6 years ago
Updated 12 July 2024, about 2 months ago

When you have required file element in webform,
and you try submit form without upload any file, you can see that clientside validation doesn't work,
and the error return from the server.

The problem caused from change that done on webform module
https://www.drupal.org/node/1609324#webform-required

The webform component field named 'mandatory' changed to 'required'

I created patch to change it on clientside_validation_webform module, attached.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Webform Validation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024