Other field value is not being passed to another field in the same form using conditions