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.ur8
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>