Bug reports Found a bug? Post it here please.
Version 6.x > Bug reports > max length validation View modes: 
User avatar
Member
Member
kobkan.courtney-kit - 10/25/2012 1:08:16 AM
   
max length validation
Hi support,

Our client with purchased license has reported an issue with CMS 6.0.3.

We have made a change to an existing field (custom document type). The field had a validation of max length 11. We have removed the max length.

But, when we attempt to create a new document, I can see the input field still has maxlength="11" in the form. I have tried restart the site via cms, restart IIS, made sure we clear cache in the browser but still doesn't work.

I tried update other things like Display Label, it did work but the maxlength is still 11. I also tried to instead of leaving it blank, put 200 maxlength but it still 11.

Kobkan Courtney

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/25/2012 1:26:56 AM
   
RE:max length validation
Hi Kobkan.

In which way are you creating custom document type? Was it created via API or via SiteManager?

Best regards,
Martin Danko

User avatar
Member
Member
kobkan.courtney-kit - 10/25/2012 7:22:00 PM
   
RE:max length validation
Hi Martin,

I found what the issue was. This document type uses ‘custom form layout’. The code in there that restricted the form to 11 characters. It doesn’t come from the CMS settings.

We can close this issue now.

Thanks so much for your help :-)
Kobkan