BrightLeaf Digital Code Snippet Library

Check out our growing library of code snippets for Gravity Forms!

Conditionally Display Field in Gravity View Based on Workflow Step

This code snippet conditionally displays a field in GravityView based on the current Gravity Flow workflow step. It updates a designated "Workflow Step Field" with the name of the active workflow step or the final workflow status upon completion. This enables dynamic field visibility in GravityView, allowing users to track workflow progress. Requires a form field to have the label “Workflow Step Field” (without the quotes).

Note: This snippet has been largely rendered obsolete by updates to Gravity View. Kudos to Gravity Kit! 🙂

Features

  • Automatically updates a field with the name of the current workflow step.
  • Changes the field value to the final workflow status once the process is complete.
  • Allows conditional field display in GravityView based on the workflow step.
  • Ensures real-time workflow tracking by updating field values dynamically.
  • Customizable field label (must be named "Workflow Step Field" for the script to function).
Install Using Code Snippets

This code is best installed directly on your site using the Code Snippets plugin.

Check Out the Code

Loading...

Code Copied!
Stay Updated On This Snippet

This entry has no reviews.