sathish16 Posted May 19, 2015 Share Posted May 19, 2015 hi, i have a form where a listbox have 2 items.if one item is selected ,then i want to display 5 text boxes and 2 list box under it.if i give inputs in it,then all details should be wrapped under one field in my mysql database....pls share your suggestions... Quote Link to comment Share on other sites More sharing options...
grissom Posted May 19, 2015 Share Posted May 19, 2015 Not sure if I fullyunderstand the question ... but I think what you would need is to put the 5 text boxes and 2 list boxes into a <DIV> with the property "style=visibility:hidden;" use an onChange event with your original listbox to make the <DIV> visible if the certain listbox item is selected. Put the hidden <DIV> inside your form and all the data within it will be submitted along when the form is submitted Quote Link to comment Share on other sites More sharing options...
rwhite35 Posted May 19, 2015 Share Posted May 19, 2015 (edited) What have you tried? Please share some code and any errors you are getting. Otherwise, we can't be much use to you. Edited May 19, 2015 by rwhite35 Quote Link to comment 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.