I am writing the below code to make sure that the integer value is greater then 0
public function rules()
{
return [
'DUIHistoryID' => 'required|integer|between:1,11',
];
}
Am I missing something? validation is not working in the above code
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire