Validates form configuration