Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Provide extra validation tag for ajax validation and client side validation based on the server annotations

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 conf
Octocat-spinner-32 documentation
Octocat-spinner-32 public
Octocat-spinner-32 samples-and-tests
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.textile
Octocat-spinner-32 build.xml

Ajax validation for the Play! framework

This module provides handy method to do validation.



#{extends ‘main.html’ /}
#{set title:‘Home’ /}

<form action="@{submitStep}" method="post">
<input type="text" name="cart.fullName" />#{validate name:‘cart.fullName’/}

The #{validate /} tag perform an ajax request and display a validation error in case of validation failure. The tag has the following attributes: name and class. Id will be added really soon.

No extra or special annotation is required. This plugin uses the “standard” Play! framework validation annotation.

Limitation: isn’t currently supported.

Client validation

Not yet implemented but coming soon. The idea is to publish the meta information about validation at render time (or maybe an extra request?).
The client side uses the server side validation annotations.

Something went wrong with that request. Please try again.