summaryrefslogtreecommitdiff
path: root/tests/checkbox.lac
blob: 6d7ee34c4a8f62456f00938462b683011bd1938a (plain)
1
2
3
4
5
6
7
8
9
10
val handler = fn x => <html><body>
        {if x.A then cdata "Yes" else cdata "No"}
</body></html>

val main = fn () => <html><body>
        <lform>
                <checkbox{#A}/> How about it?<br/>
                <submit action={handler}/>
        </lform>
</body></html>