| Index
» Projects
» phpMyEdit
» Forum
» 'maxlen' not working |
 |
i_j_palmer
Joined: 24 Jan 2007
Posts: 3
Posted: 2007-01-24 08:55
Back to top
Reply with quote
|
Either I am completely misunderstand this or going completely mad but I assumed that the 'maxlen' variable governed the size of the input field....
I just want to see my whole field when I edit an entry and not haveing it scoll in a small box. If I use the 'textarea' variable this can be achieved but I do not require the multiple line capability.
Could someone explain this as it does not seem to matter what value I put in 'maxlen', my entry field always appears the same size.
My current version is:-
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.188 2006-09-08 16:30:31 michal Exp $ */
|
i_j_palmer
Joined: 24 Jan 2007
Posts: 3
Posted: 2007-01-25 08:57
Back to top
Reply with quote
|
| doug wrote: |
'size|ACP' is probably what you want.
| Code: |
$opts['fdd']['user_pass'] = array(
'default' => '',
'input' => '',
'maxlen' => 60,
'name' => 'User Pass',
'options' => 'ACPVD',
'required' => false,
'select' => 'T',
'size|ACP' => 20,
'sqlw' => 'TRIM("$val_as")',
'sort' => true
);
// MySQL column 34: string -
$opts['fdd']['user_pass']['input'] = 'R';
$opts['fdd']['user_pass']['sqlw'] =
'IF(user_pass = $val_qas, $val_qas, MD5($val_qas))'; |
|
I tried this thanks but it is still exactly the same. This works fine on the 'Add' entry page but not on the 'Change' entry page. Could this be a bug ?.
|
i_j_palmer
Joined: 24 Jan 2007
Posts: 3
Posted: 2007-01-26 08:57
Back to top
Reply with quote
|
At last, it works fine now, thanks for all your help.
Upgraded from CVS tree to :-
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.189 2006-11-26 13:25:59 nepto Exp $ */
Should of checked in the bug reports as it was there and fixed in the latest version.
|
|
Post new topic
Reply to topic
|
|
|
|