Get a working validator using groovy HTML builder.