API Docs for: 1.0.0
Show:

eZ.draftServerSideValidation Class

Draft server side validation. It provides the ability to extract the field validation errors from an error response.

Item Index

Methods

_parseServerFieldsErrors

(
  • response
  • [serverSideErrorCallback]
)
protected

Parse the errors form the response and call the serverSideErrorCallback with an array of Y.eZ.FieldErrorDetails

Parameters:

  • response Response
  • [serverSideErrorCallback] Function optional

    called on server side validation

    • serverSideFieldsError Array

      Array of Y.eZ.FieldErrorDetails