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? 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] 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
Archived
This topic is now archived and is closed to further replies.