PDA

View Full Version : resizing the text form field...


jive
11-04-2003, 02:23 PM
can somebody tell me how I can set the text field to any size that I want. The default size is too large for my page...

druesome
11-05-2003, 12:44 PM
Right off the bat, open function_phpdig_form.php in the libs folder.

Go to line 47 or look for the line:

$result['form_field'] = "<input type='text' class='phpdiginputtext' name='query_string' size='24' .......


Change the number 24 between the quotes to any value you desire. Tell me if it works. Haven't tested it.

Rolandks
11-05-2003, 01:33 PM
It works! I have tested and use it :D

5.) Size and Maxlength not in config.php (minor Feature)
http://www.phpdig.net/showthread.php?s=&threadid=58

-Roland-

jive
11-05-2003, 04:05 PM
thanks, works like a charm.