alzika Posted March 11, 2006 Share Posted March 11, 2006 Here's what I need to do, but I'm not sure how. I have a form field at the top of a page with a number from 1-20 possible to be entered. When a number is entered, the same number of another form field show up below. For example, I enter 12 into the top box. After clicking outside the box (onBlur?), 12 more fields show up below that where I can enter information in.I think I could have like 20 fields already in the HTML, but they are just "hidden" until javascript turns them on and makes them visible. Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/4718-need-some-coding-help-with-forms/ Share on other sites More sharing options...
AndyB Posted March 11, 2006 Share Posted March 11, 2006 g_o_o_g_l_e is your friend[a href=\"http://www.faqts.com/knowledge_base/view.phtml/aid/1132\" target=\"_blank\"]http://www.faqts.com/knowledge_base/view.phtml/aid/1132[/a][a href=\"http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_26.html\" target=\"_blank\"]http://simplythebest.net/scripts/DHTML_scr...ascript_26.html[/a]and another few hundred thousands links if those don't help[a href=\"http://www.google.ca/search?hl=en&q=javascript+hide+form+elements&btnG=Google+Search&meta=\" target=\"_blank\"]http://www.google.ca/search?hl=en&q=javasc...le+Search&meta=[/a] Quote Link to comment https://forums.phpfreaks.com/topic/4718-need-some-coding-help-with-forms/#findComment-16529 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.