[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-user
Subject: Re: T5: checkbox questions
From: Michael Courcy <michael.courcy () gmail ! com>
Date: 2008-01-31 10:04:55
Message-ID: 47A19D47.5080305 () gmail ! com
[Download RAW message or body]
<t:form>
<input t:type="Checkbox" t:id="approved" label="literal:Check
here to approve" value="approved" align="left" />
<label t:type="label" for="approved" > a dummy text that would
be replaced by the actual value of the label attribute of the checkbox
</label>
</t:form>
Angelo Chen a écrit :
> Hi,
>
> Got two questions about my checkbox in a form, template at end of this
> email:
>
> 1. Why the 'check here to approve' was not shown in the example below? even
> I remove the <label for="approved"/>?
> I'd like to display that text after the check box.
>
> 2. How to implement this: I will enable submit button if the checkbox is
> checked?
>
> Thanks.
>
> A.C.
>
>
> <label for="approved" >& nbsp;</label>
> <input t:type="Checkbox" t:id="approved" value="approved" align="left">Check
> here to approve</input><br/>
>
> <label for="Submit"> </label>
> <input t:type="submit" name="Submit" t:id="Submit" disabled="notApproved"
> /><br />
>
>
>
--
Michael Courcy
http://courcy.blogspot.com
http://courcy-en.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic