rgar() is a gravity form function. It takes the value from the form field. This is the value I would like to obtain. eg $team_code = 101.
How do I populate an acf field in the database (and in the new post I am creating) with this value? The acf field is a post object.
What is the correct way to do this?
Thanks