Checking For Trailing Empty Elements – JS


    Checking For Trailing Empty Elements

    Some EDI files are considered incorrect if they contain trailing empty data elements or trailing empty composite data elements. EDIValidator automatically checks for this occurrence and a validation error is generated if empty trailing data elements are found.

    An example of a trailing empty data element is:


    This segment should have been written as:



    validator.CheckForEmptyTrailingElements = true;

    in EDI Validator – JS
    Did this article answer your question?