Are validation errors shown on CRUDify create/edit pages?
I have validators set up like this:
object subdomain extends MappedString(this,64) {
override def validations = List(valUnique("Subdomain taken.")_,
valRegex(Pattern.compile("""^[A-Za-z0-9-]*$"""),
"Subdomains must only contain
letters, numbers, and
hyphens."
)_) ::: super.validations
override def displayName = "Subdomain"
override def dbIndexed_? = true
}
And on an invalid entry, the form will just silently fail - that is,
when submitted, it will just give back the exact same form state - no
error messages, no changes in the filled-out entries. This confuses me.
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.