PDA

View Full Version : how do i hide and dispay form fields based on users selections? please help



Hollywood
01-23-2010, 06:55 PM
Hello
To start with i'm a complete novice in web design and i find JavaScript very interesting, anyway i'm just trying to learn it myself,
i'm trying to build a registration page for a school (not real) that will involve selecting of faculties, and then departments and then courses from form inputs and select fields, how do i make some input and select fields hidden and then display then based on the users selection,
i hope i'm making sense here, and is it even possible?
any assistance will be highly appreciated,
thanks in advance

jscheuer1
01-24-2010, 02:07 AM
Though not a direct answer to your question, one of these may be what you are looking for:

http://www.dynamicdrive.com/dynamicindex16/chainedselects/index.htm

or:

http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm

You should also consider the more complex yet more versatile:

http://www.dynamicdrive.com/dynamicindex16/formdependency.htm

Hollywood
01-24-2010, 09:41 AM
Thank thanks and thanks again
this might not be the ultimate but it will get me on the road
i can actually learn with it
i appreciate the effort
God bless