diff options
author | Adam Chlipala <adam@chlipala.net> | 2014-11-16 14:16:11 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2014-11-16 14:16:11 -0500 |
commit | 9d5548d15ef859eb57eb3b2124229bce9814a201 (patch) | |
tree | ff04982802ab530c999710e8cfa1ca9ecf6c1177 /tests | |
parent | ae37c78eb55cc69635df594a2c20d4ad33c0c03b (diff) |
More simple textual HTML5 input types
Diffstat (limited to 'tests')
-rw-r--r-- | tests/html5_forms.ur | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/html5_forms.ur b/tests/html5_forms.ur index 435e4ada..a9bf7f77 100644 --- a/tests/html5_forms.ur +++ b/tests/html5_forms.ur @@ -2,6 +2,10 @@ fun handler r = return <xml><body> A: {[r.A]}<br/> B: {[r.B]}<br/> C: {[r.C]}<br/> + D: {[r.D]}<br/> + E: {[r.E]}<br/> + F: {[r.F]}<br/> + G: {[r.G]}<br/> </body></xml> fun main () = @@ -10,6 +14,10 @@ fun main () = <textbox{#A} required placeholder="bobby"/> <textbox{#B} placeholder="soggy" autofocus/> <checkbox{#C}/> + <email{#D}/> + <url{#E}/> + <tel{#F}/> + <search{#G}/> <submit action={handler}/> </form> |