lucerias Posted November 15, 2006 Share Posted November 15, 2006 I have one form which includes textbox and drop down list, i want to enforce a flow for data input, for example, user must fill in something in textbox1 first then only drop down list 1 will be available, and when the drop down list 1 become available, there will be some content assigned accordingly, for example,textbox1: 10drop down list: a, b, c, dtextbox1: 20drop down list: a, c, hMay i know how to do it, thank you. Quote Link to comment https://forums.phpfreaks.com/topic/27374-flow-and-filter-of-drop-down-list/ Share on other sites More sharing options...
fenway Posted November 15, 2006 Share Posted November 15, 2006 You can monitor the onblur event of the textbox, and populate the drop-down list accordingly. Quote Link to comment https://forums.phpfreaks.com/topic/27374-flow-and-filter-of-drop-down-list/#findComment-125265 Share on other sites More sharing options...
lucerias Posted November 16, 2006 Author Share Posted November 16, 2006 Can you explain in detail or show some sample coding. Quote Link to comment https://forums.phpfreaks.com/topic/27374-flow-and-filter-of-drop-down-list/#findComment-125311 Share on other sites More sharing options...
fenway Posted November 16, 2006 Share Posted November 16, 2006 I can't think of any tutorials off-hand, but if you google for anything like "auto-populate drop-down lists", you should get all the sample code you need. Quote Link to comment https://forums.phpfreaks.com/topic/27374-flow-and-filter-of-drop-down-list/#findComment-125725 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.