This topic is locked

Lookup Wizard Field Size Too Small

1/12/2009 12:17:39 PM
PHPRunner General questions
U
Urnso author

I have 2 fields Item# and Item Description.
I have them both set to Ajax lookup, when the user types the Item# the Item Description field is automatically populated. Works fine!
The problem is some of the descriptions are fairly long and I need to change the field size. Under Normal Text field I can adjust the size to say 65 to handle the longer names. Now the box is only showing the first 20 or so characters.
Can this be modified?
Thx!

J
Jane 1/13/2009

Hi,
edit BuildSelectControlfunction in the generated include/commonfunctions.php file for this purpose.

See my changes in Bold:

if($lookuptype==LCT_AJAX)

echo '<input type="text" size=65 autocomplete="off" id="'.$clookupfieldid.'" ...