yeah, true...

-----Original Message-----
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 3:24 PM
To: CF-Talk
Subject: Re: dynamic forms

well, would need to determine the state of the checkbox in order to
determine whether or not to show/hide the text input...

<form name="myform">
    <input type="checkbox" name="foo" />
    <input type="text" name="bar" style="display:none;" /> </form>

<script type="text/_javascript_">
     function showhide(onoff) {
          if ( true) {
               document.myform.bar.style.display = "inline";
          } else {
               document.myform.bar.style.display = "none";
          }
     }
</script>

----- Original Message -----
From: "Tony Weeg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 10, 2004 1:15 PM
Subject: RE: dynamic forms

> <input type="checkbox" name="checkThis"
> > > <span style="display:hidden" id="theForm">
> <input name="test" size="10">
> </span>
>
> not tested, but should work.
>
>
> -----Original Message-----
> From: Jones, Becky [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 3:12 PM
> To: CF-Talk
> Subject: dynamic forms
>
> i want to have a textbox show up on my form for data to be entered, only a
> checkbox is checked.
> what is the easiest way to code this?
> *************************************************
> This e-mail, including any attachments, is intended for the receipt and
use
> by the intended addressee(s), and may contain confidential and privileged
> information. If you are not an intended recipient of this e-mail, you are
> hereby notified that any unauthorized use or distribution of this e-mail
is
> strictly prohibited.
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to