ded Posted March 17, 2009 Share Posted March 17, 2009 I have created a form online for an end user to enter in some names. Most of the names are listed in a database. I do not want the user to have to search through a drop down menu. I want them to be able to fill in a text/input field and as they are typing, if a name is find, they can click enter and it will use that name. Otherwise, it will allow the user to fully enter in a name that will later be added to that same database. Is this possible? Regards, DED Link to comment https://forums.phpfreaks.com/topic/149893-auto-fil/ Share on other sites More sharing options...
WolfRage Posted March 17, 2009 Share Posted March 17, 2009 Yes and AJAX is the best solution, I do not know the exact javascript but, basicly it will compare what is being typed to what exhist in the database on partial matches and then return those matches as a possible selection for autofill. Link to comment https://forums.phpfreaks.com/topic/149893-auto-fil/#findComment-787187 Share on other sites More sharing options...
ded Posted March 17, 2009 Author Share Posted March 17, 2009 Hmmmmm.....I don't have the first clue about Ajax. Well, time to change that I guess. Thanks DED Link to comment https://forums.phpfreaks.com/topic/149893-auto-fil/#findComment-787206 Share on other sites More sharing options...
trq Posted March 17, 2009 Share Posted March 17, 2009 This article pretty much covers your desired result. Link to comment https://forums.phpfreaks.com/topic/149893-auto-fil/#findComment-787210 Share on other sites More sharing options...
ded Posted March 17, 2009 Author Share Posted March 17, 2009 Awesome...thank you VERY much. Regards, DED Link to comment https://forums.phpfreaks.com/topic/149893-auto-fil/#findComment-787215 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.