frontend
    Preparing search index...

    Function AccountDetailFormValidation

    • Sanitizes form field string by shortening string ensuring it is not empty.

      Parameters

      • field: string

        Field to be checked.

      Returns string | null

      Sanitized string if valid, null if only contains whitespace.