validate ElectionDetails