When requiring this component, the validation doesn't work at all.
Supplying a patch that checks the 'required' key instead of the 'mandatory' in the component.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fjgarlin created an issue. See original summary.

fjgarlin’s picture

Attached patch to solve the issue.

fjgarlin’s picture

Status: Active » Needs review
Aanal.addweb’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
110.42 KB
102.44 KB
107.56 KB
116.05 KB
113.74 KB

@fjgarlin, Thanks for solving this issue, I got this issue without using your patch.
1) I created the required component in the webform.
2) View the web form.
3) No mandatory mark & mandatory field validation is shown.
4) Follow the same steps with patch & got the mandatory mark with field validation.

Please review the attached screenshot!

Thanks again!