SamC Posted November 26, 2016 Posted November 26, 2016 As the title says, I created a text field, set the maximum character count to 220. But I just noticed one of the fields is like 330 characters and I am still allowed to save the page. Am I missing something? I thought this would kick up an error until the character count was under 220. Thanks for any input (pardon the pun!).
adrian Posted November 27, 2016 Posted November 27, 2016 Hi @SamC - are you talking about a plain textarea field, rather than a text field? See my Github issue here: https://github.com/processwire/processwire-issues/issues/96 If there is something else I am missing, please feel free to comment on that issue. 1
SamC Posted November 27, 2016 Author Posted November 27, 2016 Hi @adrian, doing my best here but on a phone. Logged into my demo site and got a screenshot. Nice to see the admin works well on a mobile Please see image, it is indeed a textarea (the summary field) and I have max length set to 220 characters. This is not enforced when I go over that, the page saves as normal whatever the number of characters (tested on win10 chrome).
adrian Posted December 1, 2016 Posted December 1, 2016 @SamC - please see ryan's response: https://github.com/processwire/processwire-issues/issues/96#issuecomment-264145798 Perhaps reply there if you want to discuss with him further. 2
SamC Posted December 22, 2016 Author Posted December 22, 2016 On 12/1/2016 at 8:37 PM, adrian said: @SamC - please see ryan's response: https://github.com/processwire/processwire-issues/issues/96#issuecomment-264145798 Perhaps reply there if you want to discuss with him further. Hi @adrian that's great, thanks for the info. I think it makes sense actually, no discussion needed.
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