i think i would be right in saying this needs to be client side and think it must be javascript that is needed here. correct me if i am wrong.
either way what method should i use and what is the coding needed to do this.
i have no idea where to start of the sort of code i will need and would appreciate it if some one could start me off so i can add the bits of code to the rest of my form.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="" method="get"> <p>if A has content then B and C are not usable</p> <p> A <input type="text" name="textfield"> </p> <p> </p> <p> B <input type="text" name="textfield3"> </p> <p> </p> <p> C <input type="text" name="textfield2"> </p> <p> </p> <p>if D is changed or is not the default 'select an option' then E and F are available to alter and add data to the fields E and F</p> <p>D <select name="select"> <option value="default">select an option</option> <option value="opt 1">opt 1</option> <option value="opt 2">opt 2</option> </select> </p> <p>E <select name="select2"> <option value="opt 1">opt 1</option> <option value="opt 2">opt 2</option> <option value="opt3">opt 3</option> </select> </p> <p>F <textarea name="textarea"></textarea> </p> </form> </body> </html>

New Topic/Question
Reply



MultiQuote




|