{"issue":{"created_at":"2011-08-10T23:41:15Z","state":"open","updated_at":"2011-12-12T01:14:07Z","comments":7,"user":{"gravatar_id":"625b9839bd86a7471b915d332371eef1","id":217452,"url":"https://api.github.com/users/jonnsl","avatar_url":"https://secure.gravatar.com/avatar/625b9839bd86a7471b915d332371eef1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jonnsl"},"body":"- Field of JForm can have more than one validation rule (space-separated)\r\n- JForm::validateField don't validate fields that are empty and are not required.(validation rules don't need to check this anymore)\r\n- Personalized error message for each validation rule\r\n- Added more rules to JForm Validator(Alpha, Alphanum, Digits, Integer, maxLength, minLength, noSpace and numeric)\r\n- Validation rules now throw JException(E_WARNING) instead of return false on validation failed, and throw JException(E_ERROR) on error.","assignee":null,"id":1383751,"pull_request":{"patch_url":"https://github.com/joomla/joomla-platform/pull/210.patch","html_url":"https://github.com/joomla/joomla-platform/pull/210","diff_url":"https://github.com/joomla/joomla-platform/pull/210.diff"},"labels":[],"number":210,"title":"Formvalidation Improvements","html_url":"https://github.com/joomla/joomla-platform/issues/210","closed_at":null,"url":"https://api.github.com/repos/joomla/joomla-platform/issues/210","milestone":null},"action":"created","comment":{"created_at":"2011-12-12T01:14:07Z","updated_at":"2011-12-12T01:14:07Z","user":{"gravatar_id":"625b9839bd86a7471b915d332371eef1","id":217452,"url":"https://api.github.com/users/jonnsl","avatar_url":"https://secure.gravatar.com/avatar/625b9839bd86a7471b915d332371eef1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jonnsl"},"body":"Fixed.\r\nI think this should be allowed:\r\n    if ($condition) doSomething();\r\n","id":3101045,"url":"https://api.github.com/repos/joomla/joomla-platform/issues/comments/3101045"}}