On 27.Mar.2003 -- 03:11 PM, [EMAIL PROTECTED] wrote:
> Hi,
> I have a form with a checkbox and a textbox.
> I submit the form, and from the page I use 
> <xsp-request:get-parameter name="MyTextval"/>
> <xsp-request:get-parameter name="MyCheckval"/>
> 
> The value of the textbox is ok, but the checkbox's value returns
> nothing. How can I get a 0 or 1 (un- and checked)?

The tag knows a default attribute. Set it to "0" and you're there.

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to