mel47 Posted October 30, 2018 Share Posted October 30, 2018 Hello, Just a quick question/confirmation. I set a maximum length for textarea to 200 characters. However, I was expecting some kind of warning to user before saving (else the red color of the counter). But it seems not, and the page is saved without problem. Is it the expected behavior? Thanks Mel Link to comment Share on other sites More sharing options...
Zeka Posted October 30, 2018 Share Posted October 30, 2018 There is a notice about in field configuration screen If the field is not “required” then minimum length is only enforced when a value is present. but it also true for maximum length. What I would recommend is to not enforce limits, but just notice that only 200 chars will be outputted on the fronted. For text truncate you can use these handy functions: https://processwire.com/blog/posts/processwire-3.0.101-core-updates/ Link to comment Share on other sites More sharing options...
mel47 Posted October 31, 2018 Author Share Posted October 31, 2018 ah ok, it's strange. I forgot to mention, but it was already set as required. But I get full length on frontend. Anyway, it's not the most important thing... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now