AI-499 : added small validation framework to avoid dummy validation code (also introduced base validation for form field inline panel)