Set Post Status by Field Value (Advanced)
This tutorial/snippet expands on the snippet. Here is a refresher on the issue: Currently, the post status of a post generated from a Gravity Form submission is set via the Post Title, Post Body or Post Excerpt fields.