<br><div class="gmail_quote">On Mon, Oct 11, 2010 at 9:59 PM, Jay McCarthy <span dir="ltr"><<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I anticipate we'd want some wrapper around formlets that check if the<br>
code passes some predicate and it would be nice to have a predicate<br>
language that could be compiled to JS for client-side validation and<br>
ui updating.<br>
<font color="#888888"><br>
Jay</font></blockquote><div> </div><div>Indeed, it would be nice to have both the client-side and server-side validation,
error messages etc. with the same one piece of Racket code. For user experience and
security it needs to be done in both ends anyway. Seems like one
motivation for a DSL for validation.<br>
<br>However, can it be general enough to cater to different JS-frameworks too?<br><br>
-Markku <br></div></div>