I am trying to validate form data using laravel validation. I want to validate some fields based on some conditions.
Suppose I have three input fields - input1, input