Jump to content

Need some coding help with forms


alzika

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.