What is you editor of choice? If you are using DW there are a
few extension
out there you could use.
Being that you gave all checkboxes the same name, I assume
you don't want to
allow multiple selections. If that is the case you will also
have clear any
hidden text box values as they would still be submitted with
the form.
--
Bryan Ashcraft (remove brain to reply)
Web Application Developer
Wright Medical Technology, Inc.
------------------------------------------------------------------
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) ::
http://www.adobe.com/communities/experts/
"silviasalsa" <webforumsuser@macromedia.com> wrote in
message
news:f58sgv$r4r$1@forums.macromedia.com...
> Javascript CheckBOX(s)
> show Hide visible invisble corresponding TEXTBOX(s)
>
>
> IF check box1 is checked then textbox1 is visible
otherwise if it is
> unchecked
> then the corresponding textbox it is invisible.
>
> IF check box2 is checked then textbox2 is visible
otherwise if it is
> unchecked
> then the corresponding textbox it is invisible.
>
> IF check box3 is checked then textbox3 is visible
otherwise if it is
> unchecked
> then the corresponding textbox it is invisible.
>
>
>
> <html>
> <head>
> </head>
>
> <body>
>
>
> <h1> </h1>
>
> <table>
> <cfform action="ACTpage.cfm" method="POST">
> <tr>
> <td>CheckBox1:</td>
> <td><center><input type="checkbox"
name="checkboxgroup"
> value="checkboxvalue1"
> checked></center></td>
> </tr>
> <tr>
> <td>CheckBox2</td>
> <td><center><input type="checkbox"
name="checkboxgroup"
> value="checkboxvalue2"
> Unchecked></center></td>
> </tr>
> <tr>
> <td>CheckBox3</td>
> <td><center><input type="checkbox"
name="checkboxgroup"
> value="checkboxvalue3"
> unchecked></center></td>
> </tr>
>
> <!--------------------->
>
> <tr><td>InputBox1</td>
> <td>
> <input type="Text"
> name="InputBox1"
> Value=""
> size="22"
> maxlength="20">
> </td>
> <tr></tr>
> <tr><td>InputBox2</td>
> <td>
> <input type="Text"
> name="InputBox2"
> Value=""
> size="22">
> </td>
> <tr></tr>
> <tr><td>InputBox3</td>
> <td>
> <input type="Text"
> name="InputBox3"
> Value=""
> size="22">
> </td>
> <tr></tr>
> <td> </td>
> <td>
> <input type="submit" value="Submit to Database">
> </td>
> </tr>
>
> </cfform>
> </table>
>
> </body>
> </html>
>