RoyBaird
Posts: 115
|
| Posted: 02/08/2010, 8:54 AM |
|
I cannot find any information or examples on how to populate a dropdown based on data entered into a textbox. This is not a dependent listbox. I can make autofill work from a textbox to a label/texbox. I can get the autofil dependent listbox to work. But this has me stumped.
any help?
Thanks,
_________________
Roy |
 |
 |
andy
Posts: 183
|
| Posted: 02/09/2010, 3:48 AM |
|
I haven't tried out what you are trying to do as my autofills are triggered from a dropdown listbox, but may be the following may be helpful:
• Are the bound column (not the Text column) and data type the same as the data you are populating them with
• Have you set the start event (e.g. onchange or onblur) of the field triggering the autofill?
• If you have a memo field in the table that you are retrieving data from - even if you are not using that field in the lookup - for records that have an entry in the memo field with a hard return in, they will not work with Autofill. The workaround is to open the corresponding PTAutofill file in the services subdirectory, then switch to its HTML tab and delete the line containing the memo field
e.g. "Memofield" : "{Memofield}",
Save and republish and your autofills will work!!
Good luck.
_________________
Andy
RAD tools for rich UI controls:
http://www.koolphptools.com |
 |
 |
RoyBaird
Posts: 115
|
| Posted: 02/17/2010, 5:11 AM |
|
Does not work. In order to enter info in the bound column, a connection and table must be selected. This then shows all of the rows entries in the drop down and not the results of the autofill.
I really like the concept, but Yes needs to work out some of the kinks and DOCUMENT better.
_________________
Roy |
 |
 |
Oper
Posts: 1195
|
| Posted: 02/17/2010, 2:44 PM |
|
You will have to manually create a Service and Call that service using AJAX.
similar of what you do with Dependant Listbox
(similar but Totally Manual)
i'm know its posible but but (i have never try)
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
andy
Posts: 183
|
| Posted: 02/18/2010, 4:11 AM |
|
Just a thought, Roy, but as a bit of a workaround could you populate a temporary table based upon the autofill lookup and permanently program the field(s) in this table as your dynamic drop down? Difficulties to overcome would be refreshing the dropdown box after the autofill so that it is repopulated with the new contents of the temporary lookup table?
May be you could creatively use an Update Panel so that you don't need to refresh the page?
I'm just thinking out loud here as I don't fully understand your data structures, but may be these ideas will get you on the right track..
Good luck.
_________________
Andy
RAD tools for rich UI controls:
http://www.koolphptools.com |
 |
 |
|