Snow
1
So right now I am ponly working on the registration page and trying to let people know that certain features/mature content won’t be seen if their age is less than 18 years old. Which in days is 6,575. I have this much and thought it would work but after testing it does not. What am I doing wrong?
Younger than 18

Older than 18

robert
2
Don’t divide by 365
and get rid of :floor I don;t think you need that
robert
3
one other suggestion, have the element hidden by default, and only show on condition, so you only need 1 condition statement
2 Likes
Snow
4
Okay, I will try this when I get home. I do have it not showing by default. Hints why its not showing. The only reason I added it was for troubleshooting and still couldn’t get it working but thanks.
1 Like
Snow
5
Yeah, still having issues
Is this what you meant?

Why can’t you do current date minus 18 years is > input date
robert
7
The terms are backward.
It needs to be current date - DOB
Snow
8
Once I do - I can’t just put a number.
Snow
9
Thank you for your help. I got it working now.
1 Like
system
Closed
10
This topic was automatically closed after 70 days. New replies are no longer allowed.