Turning Help Text on/off

Project:Max Chars for Text Attributes
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
uc_attribute_length

Hi,
Thanks to the author for this contribution because the long default field lengths were bugging me greatly and I didn't know how to fix it.

Anyway, I just added an option to turn on and off the help text ("The Field Must be numeric" etc.) in the product page. Since I am a novice at programming, I'm not sure whether it is using good syntax, though it seems to be working fine. The modifications were pretty trivial. I put comments to where I made the changes.

Version: 
Ubercart 1.6
PreviewAttachmentSize
uc_attribute_length.txt9.58 KB