hosamalzagh's avatar

validate Required_if great than or lessthan

i want prefix_custom require if prefix >2 i try 'prefix' => 'integer', 'prefix_custom' =>'required_if:prefix,gt,2', and 'prefix' => 'integer', 'prefix_custom' =>'required_if:prefix,>,2',

togethar not work

0 likes
1 reply

Please or to participate in this conversation.