You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
I use a form to validate the input of my json rest api, but an exception occurs when i get a value that is not an array for a fieldset. Here an example:
All fine:
{
"article": {
"id": 1
}
}
All fine:
{
}
Exception in inputfilter
{
"article": null
}
Validationgroup is array("article" => array("id"))
How to allow article to be anything and get a validation error if its not an array with a valid id?
The text was updated successfully, but these errors were encountered:
I use a form to validate the input of my json rest api, but an exception occurs when i get a value that is not an array for a fieldset. Here an example:
All fine:
{
"article": {
"id": 1
}
}
All fine:
{
}
Exception in inputfilter
{
"article": null
}
Validationgroup is array("article" => array("id"))
How to allow article to be anything and get a validation error if its not an array with a valid id?
The text was updated successfully, but these errors were encountered: