Fixed validation error message displaying in form

Now the error message is displayed next to the property form field when use assert<ConstrainName> method for validation
Removed deprecated method call.
Merge pull request #1239 from imenem/patch-2

Fixed validation error message displaying in form