Complete IfFormatValid() functions.