The Field Validation module allows you to enter tokens such as [value] so you can include the value of the field in the error message. However when you use Clientside Validation with Field Validation it just displays the token to the user instead of parsing the token and retrieving the value.

Comments

Jelle_S’s picture

Status: Active » Fixed

Fixed in latest dev.

The only token we can support is the [value] token. We can not get the values for tokens like entity-type and bundle from javascript.

SeanBannister’s picture

Thanks for the fix. Can we get [field-name] I was even thinking it could just be retrieved from the DOM via if need be.

Jelle_S’s picture

Added to latest dev version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.