Product property rendered as TextArea (not using LongText)?
Using uCommerce 2.6.1.0
I would like to have a custom product property rendered as a textarea, and LongText is for validation reasons not an option. "Text" only renderes an ordinary text-input. Is there any way to have a product property rendered as a textarea that is NOT LongText?
What I actually meant was, that I had made my own Data Type (I need a custom validation expression). I can only select "Text", "Boolean" and "Enum" as the definition, and "Text" renderes as a single line text input. I would REALLY like to have it render as a text-area. Is there anyway to make it do that?
Product property rendered as TextArea (not using LongText)?
Using uCommerce 2.6.1.0
I would like to have a custom product property rendered as a textarea, and LongText is for validation reasons not an option. "Text" only renderes an ordinary text-input. Is there any way to have a product property rendered as a textarea that is NOT LongText?
You can add a new property to your product definition, which uses the data type "LongText".
Also you might find Catalog Foundation Explained: Product Definitions useful.
What I actually meant was, that I had made my own Data Type (I need a custom validation expression). I can only select "Text", "Boolean" and "Enum" as the definition, and "Text" renderes as a single line text input. I would REALLY like to have it render as a text-area. Is there anyway to make it do that?
You can change the "Definition" column in the database to "LongText".
(In uCommerce_DataType :-) )
Just remember to change "BuiltIn" to 1 to avoid accidental overwrite of the LongText by saving your Data Type.
is working on a reply...