The CreatorCon Call for Content is officially open! Get started here.

How to give max length for a variable on catalog item?

swathigangadhar
Tera Expert

How to give max length for a variable on catalog item?

For a text field i need to restrict length to 255 character on item field.

1 ACCEPTED SOLUTION

karthikdurga
Mega Expert

Create a variable of type macro, and in the macro define an input field of size 255. Sample code is provided below.



sa.JPG


View solution in original post

5 REPLIES 5

Kartik Patil
Giga Contributor

max_length=255  (for single line text field)