form_resp function

Get the response variable from a formula