update subscriber profile form with validator

Peter Kocsmaros

New Member
How can I add a validator to my subscriber profile update form? Specifically, a date type field should be checked to include a date of birth at least 18 years ago.
 

laurentiu

Active Member
Staff member Support Staff MailWizz 2.0 Tester
How can I add a validator to my subscriber profile update form? Specifically, a date type field should be checked to include a date of birth at least 18 years ago.
Form Backend > Settings > Customers > Registration > Minimum age

Screenshot 2021-03-17 at 10.49.40.png
 

Peter Kocsmaros

New Member
I tried it, but unfortunately it doesn't work. If a subscriber updates their own profile, they can enter any date of birth. Not just those over 18 years old.
 

laurentiu

Active Member
Staff member Support Staff MailWizz 2.0 Tester
I tried it, but unfortunately it doesn't work. If a subscriber updates their own profile, they can enter any date of birth. Not just those over 18 years old.
For subscribers that is not possible, but you can add a consent checkbox to confirm that subscriber have over 18 year old.
Screenshot 2021-03-18 at 09.58.07.png

And on subscribe/update page will need to confirm:
Screenshot 2021-03-18 at 10.00.17.png
 
Top