Hi,
I'm using a profile2 profile for registration which has a date field, which needs to be validated for age. I am using field validation module to validate the date field. I need to validate the field for age restrictions. I have entered maximum and minimum values in global format. It is display the custom error to each and every entry I make to the field (Date of birth). I have attached the screenshot for further information. Can anyone help acheiving this.

CommentFileSizeAuthor
age.png38.62 KBshwethash
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

g089h515r806’s picture

You made a mistake for maximum and minimum values.

shwethash’s picture

May I know where is the mistake exactly? Can you please be more specific.

g089h515r806’s picture

Status: Active » Closed (outdated)