Zen Cart Logo
Forums / General Questions / Remove the "maximum characters allowed" possible?

Remove the "maximum characters allowed" possible?

Locked

Views: 1,253

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 May 2008, 7:35 PM
#1
magneteye avatar

magneteye

Zen Follower

Join Date:
Mar 2007
Location:
Portland, OR
Posts:
163
Plugin Contributions:
0

Remove the "maximum characters allowed" possible?

If I have an attribute as multiple rows of text for customer input, it displays a funky looking box with the number of characters allowed. I do not want this showing, I just want the text box only.

How do I get rid of that?

Thanks!

18 Sep 2008, 10:08 AM
#2
ibex avatar

ibex

New Zenner

Join Date:
Feb 2007
Posts:
1
Plugin Contributions:
0

Re: Remove the "maximum characters allowed" possible?

Hi Look in the attruibites file
/includes/attributes.php

at line 402 ish

$tmp_html = ' <input disabled="disabled" type="text" name="remaining' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . '" size="3" maxlength="3" value="' . $products_options_names->fields['products_options_length'] . '" /> ' . TEXT_MAXIMUM_CHARACTERS_ALLOWED . '<br />';

Just comment out this and the box dissapears.

IT STILL WORKS THOUGH so make sure you set your max lenght to some thing big if you want to allow war and peace in there!