By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,842 Members | 1,624 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,842 IT Pros & Developers. It's quick & easy.

Dynamic display of fields.

P: 2
Hi Friends,

I am very new to Java scripting. Is there any possible way to diaplay fields dynamically. For eg: if i select item say home from the drop down then it should display some fields like home adress and Residential phone number
else if i select office then it should display office adress and office phone number in the same form. If i select empty then it should display nothing.

Kindly help me out in this.

Oct 28 '08 #1
Share this Question
Share on Google+
3 Replies

P: 55
you could build the whole form with all possible fields, and toggle the visibility of the fields with the "display" property of the "style" object when you change the select you have anything you've got started?
Oct 28 '08 #2

P: 2

Do you have any code related to this?

Oct 28 '08 #3

P: 55
nope, just a couple answers and this great link;)

Usable Forms
Oct 28 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.