Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How can I change the maxlength in an attrib read only text box?

How can I change the maxlength in an attrib read only text box?

Locked

Views: 1,249

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Oct 2009, 9:46 PM
#1
garyh357 avatar

garyh357

New Zenner

Join Date:
May 2006
Posts:
20
Plugin Contributions:
0

How can I change the maxlength in an attrib read only text box?

I'm trying to utilize and attribute set to read only to create a popup link. As much as I despise popups, I must have one here. I've tested links and javascript there, but it maxes at 64 characters and I need more. I can't figure out where to change it. I've used the developers toolbox and even just changed a couple of files hoping for luck, and no luck at all.

28 Oct 2009, 11:13 PM
#2
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: How can I change the maxlength in an attrib read only text box?

Not sure what an attribute has to do with a popup window. Attributes can trigger a javascript event that can open a popup, however you have to use javascript to create a popup or use a link with target="_blank"

Dont understand what the maxes out at 64 character means.

29 Oct 2009, 2:26 AM
#3
garyh357 avatar

garyh357

New Zenner

Join Date:
May 2006
Posts:
20
Plugin Contributions:
0

Re: How can I change the maxlength in an attrib read only text box?

Sorry for the confusion. I created an option name and made it a "read only". Then I created an option value for it and the text box for entering the option value has a "maxlength" of "64" and I need to enter more than 64 characters in it. The popup is really irrelevant. Bottom line, I need the maxlength for the textbox of a read only option value to be longer. How can I modify that? I realize that I will likely be editing a core file outside of the template structure, but I need to do it anyway.