Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using a text field with multiple options to create only one checkbox with webforms. This required field has the error message
"The field xyz is required". If I use clientside validation the same field draws the error message "Minimum 1, maximum 99". Why?
How I can get the same error message with clientside validation as without?
Comments
Comment #1
attiks CreditAttribution: attiks commentedThis should be fixed in the dev version, can you try please?
Comment #2
mmtt CreditAttribution: mmtt commentedI've tried the last dev but it's still "Minimum 1, maximum 99" message . All caches were emptied and I tried it as admin.
Sorry, not the text field produces the message. It's a "Select options" filed with on option an the activated "Multiple" checkbox in the form to get a checkbox and not an option field. Maybe you can change the wrong title.
Comment #3
attiks CreditAttribution: attiks commentedI'm able to reproduce it, narrowed it down to an error in clientside_validation.js where that message is set, but the right string '!field is required' is passed in Drupal.settings.
I'll try to investigate it
Comment #4
attiks CreditAttribution: attiks commentedFix pushed to dev version
Comment #6
attiks CreditAttribution: attiks commented