]> Dogcows Code - chaz/p5-CGI-Ex/blobdiff - samples/html1.htm
CGI::Ex 2.00
[chaz/p5-CGI-Ex] / samples / html1.htm
diff --git a/samples/html1.htm b/samples/html1.htm
new file mode 100644 (file)
index 0000000..9441558
--- /dev/null
@@ -0,0 +1,14 @@
+<form name="foo">
+<input type=text name=user>
+<input type=text name=foo>
+<input type=hidden name=bar value=1>
+</form>
+
+
+<script>
+document.validation="\n\
+  user:\n\
+    required: 1\n\
+  foo: {required_if: 'bar'}\n\
+";
+</script>
This page took 0.024579 seconds and 4 git commands to generate.