
January 15th, 2009, 04:44 AM
|
|
Registered User
|
|
Join Date: Dec 2008
Posts: 4
Time spent in forums: 1 h 40 m 14 sec
Reputation Power: 0
|
|
|
Displaying values in textbox
Hi am new to coldfusion and i have a page which has one ddl and three textbox.
1)The ddl will display the company name
2)one textbox is the company code
3) the remaining two textbox is the address of the company
When i choose the companyname from the ddl,the address of the company will get displayed in the 2 textbox with the company code inthe third text box
this feature i have done but what my problem is that the user can
1) either choose the company name from ddl and see all its relevant values in other textbox
2)or he can directly enter the code in the textbox relevant to the company and see the other fields like address in the textbox and the company name from the ddl should get displayed automatically when the user tries to enter the code in the textbox
How to accomplish it.Can anyone help me by providing the code for it
|