comparison tests/checkbox.lac @ 190:3eb53c957d10

Checkboxes
author Adam Chlipala <adamc@hcoop.net>
date Thu, 07 Aug 2008 13:09:26 -0400
parents
children
comparison
equal deleted inserted replaced
189:20bf7487c370 190:3eb53c957d10
1 val handler = fn x => <html><body>
2 {if x.A then cdata "Yes" else cdata "No"}
3 </body></html>
4
5 val main = fn () => <html><body>
6 <lform>
7 <checkbox{#A}/> How about it?<br/>
8 <submit action={handler}/>
9 </lform>
10 </body></html>