Hi All,

I want to display the value of my input of type check box.
How do I set the checked/ unchecked values inside the <input....>


Thanks in advance

Roberto

Re: Checkbox by Ray

Ray
Wed Aug 27 21:17:49 CDT 2003

Don't multi-post. Do you want to do this in jscript of vbscript?

Ray at work

"Julio Gonzalez" <jcquijada@hotmail.com> wrote in message
news:eJZe%236PbDHA.3248@tk2msftngp13.phx.gbl...
> Hi All,
>
> I want to display the value of my input of type check box.
> How do I set the checked/ unchecked values inside the <input....>
>
>
> Thanks in advance
>
> Roberto
>
>



Re: Checkbox by Ruben

Ruben
Wed Aug 27 22:21:48 CDT 2003

Hi,

I do it.
<INPUT TYPE="CHECKBOX" onClick="this.value = ((this.checked) ? '1' : '0');"
NAME="enqPergunta" VALUE="0">

Or

<INPUT TYPE="RADIO" onClick="this.value = ((this.checked) ? '1' : '0');"
NAME="enqPergunta" VALUE="0">

Now you can use the object and see if the parameter value is set or not.
1 = True
0 = False

Best,

Ruben

"Julio Gonzalez" <jcquijada@hotmail.com> wrote in message
news:eJZe#6PbDHA.3248@tk2msftngp13.phx.gbl...
> Hi All,
>
> I want to display the value of my input of type check box.
> How do I set the checked/ unchecked values inside the <input....>
>
>
> Thanks in advance
>
> Roberto
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/20/2003