Jump to content

javascript forms


php_b34st

Recommended Posts

Hi,

I have never written in javascript before however I think I need it now. I want to make a script which will enable me to dispkay a different form depending on which checkbox is checked without submitting the form.

 

example:

Say i have checkbox A and B when checkbox A is checked I want to display text field A and a dropdown menu, if checkbox b is checked i want to display text field B and Text field C

 

I think this will only be possible using javascript but as I said at the start I havent done any javascript in the past and wouldnt know where to start. Can anybody give any pointers as to where to begin, what to look for, what kind of functions i will need for this script. That is if this is even possible with javascript?

 

thanks in advance

 

Link to comment
https://forums.phpfreaks.com/topic/119046-javascript-forms/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.