Skip to content
zhaber edited this page Oct 8, 2012 · 3 revisions
  1. Go to the http://grules-console.appspot.com/

  2. As an example you can insert the following content in the code box:

email isEmail ["Invalid email"]
age toPositiveInt ["Invalid age"] >> {it > 18} ["You must be an adult"]
  1. Click 'Execute script'