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.
Validation for minimum and maximum characters
Comment | File | Size | Author |
---|---|---|---|
#4 | interdiff-2625604-2-4.txt | 774 bytes | harika gujjula |
#4 | 2625604-4.patch | 1.12 KB | harika gujjula |
#2 | 2625604-2.patch | 1019 bytes | harika gujjula |
Comments
Comment #2
harika gujjula CreditAttribution: harika gujjula at Valuebound commentedValidation check for minimum and maximum character length to be greater than 0.
Comment #3
krknth CreditAttribution: krknth as a volunteer and at Valuebound commentedCan you combine two conditions ?
and
Comment #4
harika gujjula CreditAttribution: harika gujjula at Valuebound commentedAdded Patch and Interdiff
Comment #5
krknth CreditAttribution: krknth as a volunteer and at Valuebound commentedLooks good. Changing min, max labels 'length' to 'characters' will be more reasonable.
Comment #7
krknth CreditAttribution: krknth as a volunteer and at Valuebound commentedThanks. changed label too.