Date/Time Input Enabled

Good day everybody

Im working on a form which will be viewed by Admins and Users, Im trying to have the fields only be editable by admin, so far all editable fields work fine when I put the following code on INPUT ENABLED for a date/time field it doesnt work

@Contains(@UserRoles; “ADMIN”)

Could some one help me out

thanks in advance!

Subject: Works for me in 8.5.3

I did exactly as you describe (cut and pasted your code) and then put myself into and out of the ADMIN role. When I was in, I could edit, when I was out, I couldn’t.

If you did the formula and left the design client up, you probably retained the ADMIN role when testing. Be sure you exit the design client and test again.