This topic is locked

where is the field length stored?

11/28/2008 8:54:20 AM
PHPRunner General questions
T
thesofa author

When I change a field length in visual editor, where is that figure stored please, I just need to change one field and I want to avoid rebuilding the project as i have various customisations made?

it is not the size i am changing but the Max Length on the edit as settings.
TIA

J
Jane 11/28/2008

Hi,
open generated include/..._settings.php file, find this line:

> $fdata["EditParams"]="";



and add following code just after:

$fdata["EditParams"].= " maxlength=111";

$fdata["EditParams"].= " size=111";

T
thesofa author 11/28/2008

Thank you again, spot on!