I want to give validation if weight is not empty then shipping_cost required and vise verse.
array('weight' => 'numeric|required_if:shipping_cost,value',
'shipping_cost' => 'numeric|required_if:weight,value')
What will be the value for 'weight,value' and 'shipping_cost,value' ?