Agree, Ajax is best method for this.
--
Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040
On Oct 6, 2005, at 1:18 PM, Alan Wolfe wrote: Hey webdude, you can use a technique called ajax to do this. ajax stands for asynchronous _javascript_ and xml and that's just a fancy term for what it does, which is use _javascript_ to make calls to pages on your server which return data. for instance, you could have a taf which you passed a client id as an argument too (lookup.taf?id=30405) and it would show all relevant client data in XML as results. then, on your main page that the user sees, when the person is done typing their user id in, _javascript_ could call lookup.taf with the given ID#, grab the XML results and use that to fill the page in with new data or even change that page's appearance. AJAX is awesome. http://www.webpasties.com/xmlHttpRequest/ at the bottom of that page, you can put a zipcode in and then when you click somewhere out of the box, the city and state are magicly filled in. it uses ajax to accomplish this. there's a tutorial there too.
On 10/6/05, Ted Wolfley <[EMAIL PROTECTED]> wrote: How about using a frame with the id number at the top and the rest of the form at the bottom. You can hide the dividing line between the two sections to make it look like on page. Use a hidden field for the id number on the bottom.
Ted
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] Sent: Thursday, October 06, 2005 3:57 PM To: [email protected] Subject: Witango-Talk: O.T Auto Fill Form from a DB Call
Sorry if this is off topic but I have a perplexing problem I am trying to figure out.
I was wondering if it is possible to auto fill values into a from by typing in something like a client ID. I don't mean a two page form, that would be easy. But is it possible to have someone fill in the client ID and have the form that is already visable auto fill the rest of the values. I think it would need to do a DB call on a mousedown to do this. Has anyone tried anything like this before?
Thanks ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
|