Jump to content


Need some coding help with forms

  • Please log in to reply
1 reply to this topic

#1 alzika

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 11 March 2006 - 10:39 PM

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?

#2 AndyB

  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 11 March 2006 - 11:38 PM

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]

Legend has it that reading the manual never killed anyone.
My site

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users