Posted by Matteo Scirpoli
2014-07-16

I wanted to know if it is possible aumentarela limiting the number of characters in the test area. I'd like to have infinite
Posted by Tom
2014-07-17

Hi,

>limiting the number of characters in the test area.

You can't make it infinite but you can change it.Open web/codelib/asc/df.fl.(table-name).inc.php in a text editor and find the field definiton. For example,
'comments'=>array(
XA_CLASS=>'CVText',
XA_CAPTION=>RSTR_COMMENTS,
XA_REQUIRED=>false,
XA_SIZE=>36,
XA_MIN_CHAR=>0,
XA_MAX_CHAR=>100,
XA_SEARCH_OP=>'s%',
XA_LIST=>'(sp)(sr)(fd)',
),
Set XA_MAX_CHAR to the maximum number you want to use. Suppose you want to set it to 99999, then the result should look like:
'comments'=>array(
XA_CLASS=>'CVText',
XA_CAPTION=>RSTR_COMMENTS,
XA_REQUIRED=>false,
XA_SIZE=>36,
XA_MIN_CHAR=>0,
XA_MAX_CHAR=>99999,
XA_SEARCH_OP=>'s%',
XA_LIST=>'(sp)(sr)(fd)',
),