summaryrefslogtreecommitdiff
path: root/tests/html5_forms.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html5_forms.ur')
-rw-r--r--tests/html5_forms.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/html5_forms.ur b/tests/html5_forms.ur
index 2fa5c5c2..435e4ada 100644
--- a/tests/html5_forms.ur
+++ b/tests/html5_forms.ur
@@ -1,4 +1,7 @@
fun handler r = return <xml><body>
+ A: {[r.A]}<br/>
+ B: {[r.B]}<br/>
+ C: {[r.C]}<br/>
</body></xml>
fun main () =
@@ -6,6 +9,7 @@ fun main () =
<form>
<textbox{#A} required placeholder="bobby"/>
<textbox{#B} placeholder="soggy" autofocus/>
+ <checkbox{#C}/>
<submit action={handler}/>
</form>