alohatofu Posted May 15, 2007 Share Posted May 15, 2007 I'm wondering if anyone can help me with this issue I'm having. I would like to create a conditional cascade form. based on the selection, it can display or not display an input form for the user to enter an string of text. then at the bottom of the page (or when a user submit) connect all the sections including the input field all together (it's like a story maker?) Can someone please help me out by giving me an example so I can work towards my goal? Thanks!! Quote Link to comment https://forums.phpfreaks.com/topic/51547-cascade-dropdown-or-conditional-list/ Share on other sites More sharing options...
alohatofu Posted May 15, 2007 Author Share Posted May 15, 2007 can someone please give me some pointers? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/51547-cascade-dropdown-or-conditional-list/#findComment-253969 Share on other sites More sharing options...
Psycho Posted May 15, 2007 Share Posted May 15, 2007 I'm not 100% clear on your request, but from the sounds of it you need a javascript solution. PHP cannot do what you are asking. You will want to have some type of control (for example a radio button group) and use an onclick event to trigger a function. That function will then use CSS to change the display property of other fields to be hidden or visible. Quote Link to comment https://forums.phpfreaks.com/topic/51547-cascade-dropdown-or-conditional-list/#findComment-253997 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.