Problem/Motivation
A Booking form field defined as "required" is allowing submissions even when left empty.
Steps to reproduce
- Add Booking field.
- Set as required.
- Submit without selecting a date.
Proposed resolution
Properly validate Booking fields.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | required-booking-field-emptysubmission-3501857-4.patch | 3.53 KB | electric.larry |
Issue fork webform_booking-3501857
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3501857-required-booking-validation
changes, plain diff MR !11
Comments
Comment #2
electric.larry commentedComment #4
electric.larry commentedHere's the patch that should fix the validation for a required Webform Booking field.
Comment #5
rfmarcelino commentedThank you, @electric.larry!
(Merge requests are, for some reason, failing. If it fails, I'll add the code via commit)
Comment #8
rfmarcelino commented