Configuration template - refactoring and validation bug fixes.
Configuration template - element submit validation bug fixes.