hosamalzagh
3 months ago

validate Required_if great than or lessthan

Posted 3 months ago by hosamalzagh

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

Please sign in or create an account to participate in this conversation.