Skip to main content
August 26, 2008
Answered

ADDT Autocomplete Textfield too small

  • August 26, 2008
  • 1 reply
  • 466 views
Hey guys, ended up finding the answers to my previous questions. Here's a quick question about the Autocomplete Textfield.

In my table, I have over 1,000 records for someone to choose from, and to make it easier, I have added the autocomplete textfield. However, the "longest" record is 62 characters in length, and when I add that server behavior to the text field, it goes back to 20 characters in length.

I've tried using the size="70" attribute to no avail, and even tried using width="400", and neither worked. It still defaulted back to 20 characters. Here is the code for the textfield:

<input name="bpo_name" class="blueprintList" id="bpo_name" size="70" wdg:recordset="rsBPO" wdg:subtype="DynamicSearch" wdg:type="widget" wdg:displayfield="bpo_name" wdg:norec="10" wdg:defaultoptiontext="no" wdg:selected="Please Enter Blueprint Name" />
This topic has been closed for replies.
Correct answer
<input name="bpo_name" class="blueprintList" id="bpo_name" wdg:recordset="rsBPO" wdg:subtype="DynamicSearch" wdg:type="widget" wdg:displayfield="bpo_name" wdg:norec="10" wdg:defaultoptiontext="no" wdg:selected="Please Enter Blueprint Name" style="width:400px" />

1 reply

Correct answer
August 27, 2008
<input name="bpo_name" class="blueprintList" id="bpo_name" wdg:recordset="rsBPO" wdg:subtype="DynamicSearch" wdg:type="widget" wdg:displayfield="bpo_name" wdg:norec="10" wdg:defaultoptiontext="no" wdg:selected="Please Enter Blueprint Name" style="width:400px" />