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.
 
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
 
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.
 
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
 
Back
Top