Max Length Limit not enforced on Attribute Text Field

Project: 
uc_attribute_length
Category: 
task
Version: 
Ubercart 1.3
Priority: 
normal
Status: 
active

Hello,

This module is exactly what I'm looking for...thanks for the contribution!. I am using the text attribute to enable people to personalize certain products. The default size is too large, so I need to reduce it down to 20 characters.

I successfully installed the uc_attribute_length module and see the "Max Chars" field on the attribute tab when I am adding or editing a product. I add the value "20" to the field next to the text attribute and save. However, when I go into the main view and review product, the text attribute size has not been reduced to 20 characters. It allows me to add and save many more characters.

1. Is the uc_attribute_length module supposed to work in this way?

2. Is there another text field setting that I need to update?

Thanks

Re: Max Length Limit not enforced on Attribute Text Field

I can't reproduce this. If I specify 20 characters, I'm limited to 20 characters.

Module is at http://www.ubercart.org/contrib/5341 for reference.

EDIT: Ah, I have found a case where it isn't enforced. When you view a Product Kit, the textfield is not limited as when you view the individual Product.

Re: Re: Max Length Limit not enforced on Attribute Text Field

Hi, I have the same problem, it doesn't enforce the length. I am not using a product kit, just a normal individual product.

Re: Re: Max Length Limit not enforced on Attribute Text Field

I've added in product kit support and added some other bugfixes. Can you try out the newly updated module and see if it works? The only thing I can think of that would stop it from working is if a different installed module is overwriting validations.